From f01d83d61e6b912261b86dab403da44f1895168b Mon Sep 17 00:00:00 2001 From: ROY Date: Wed, 6 Sep 2017 05:26:08 +0800 Subject: [PATCH] Update mirror.md (#4506) --- docs/recipes/mirror.md | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/docs/recipes/mirror.md b/docs/recipes/mirror.md index adef1553c..eb42cda34 100644 --- a/docs/recipes/mirror.md +++ b/docs/recipes/mirror.md @@ -146,23 +146,3 @@ by default. ``` Save the file and restart Docker for the change to take effect. - -## Use case: the China registry mirror - -The URL of the registry mirror for China is `registry.docker-cn.com`. You can -pull images from this mirror just like you do for other registries by  -specifying the full path, including the registry, in your `docker pull` command, -for example: - -```bash -$ docker pull registry.docker-cn.com/library/ubuntu -``` - -Or you can add "https://registry.docker-cn.com" to the `registry-mirrors` array -in `/etc/docker/daemon.json` to pull from the China registry mirror by default. - -```json -{ - "registry-mirrors": ["https://registry.docker-cn.com"] -} -```