Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -2620,7 +2620,7 @@ __docker_subcommand() {
|
| 2620 | 2620 |
"($help)--default-gateway-v6[Container default gateway IPv6 address]:IPv6 address: " \ |
| 2621 | 2621 |
"($help)--default-shm-size=[Default shm size for containers]:size:" \ |
| 2622 | 2622 |
"($help)*--default-ulimit=[Default ulimits for containers]:ulimit: " \ |
| 2623 |
- "($help)--disable-legacy-registry[Disable contacting legacy registries]" \ |
|
| 2623 |
+ "($help)--disable-legacy-registry[Disable contacting legacy registries (default true)]" \ |
|
| 2624 | 2624 |
"($help)*--dns=[DNS server to use]:DNS: " \ |
| 2625 | 2625 |
"($help)*--dns-opt=[DNS options to use]:DNS option: " \ |
| 2626 | 2626 |
"($help)*--dns-search=[DNS search domains to use]:DNS search: " \ |
| ... | ... |
@@ -292,7 +292,7 @@ of the `--changes` flag that allows to pass `Dockerfile` commands. |
| 292 | 292 |
|
| 293 | 293 |
**Target For Removal In Release: v17.12** |
| 294 | 294 |
|
| 295 |
-Version 1.9 adds a flag (`--disable-legacy-registry=false`) which prevents the |
|
| 295 |
+Version 1.8.3 added a flag (`--disable-legacy-registry=false`) which prevents the |
|
| 296 | 296 |
docker daemon from `pull`, `push`, and `login` operations against v1 |
| 297 | 297 |
registries. Though enabled by default, this signals the intent to deprecate |
| 298 | 298 |
the v1 protocol. |
| ... | ... |
@@ -42,7 +42,7 @@ Options: |
| 42 | 42 |
--default-gateway-v6 ip Container default gateway IPv6 address |
| 43 | 43 |
--default-runtime string Default OCI runtime for containers (default "runc") |
| 44 | 44 |
--default-ulimit ulimit Default ulimits for containers (default []) |
| 45 |
- --disable-legacy-registry Disable contacting legacy registries |
|
| 45 |
+ --disable-legacy-registry Disable contacting legacy registries (default true) |
|
| 46 | 46 |
--dns list DNS server to use (default []) |
| 47 | 47 |
--dns-opt list DNS options to use (default []) |
| 48 | 48 |
--dns-search list DNS search domains to use (default []) |
| ... | ... |
@@ -901,7 +901,18 @@ system's list of trusted CAs instead of enabling `--insecure-registry`. |
| 901 | 901 |
|
| 902 | 902 |
##### Legacy Registries |
| 903 | 903 |
|
| 904 |
-Enabling `--disable-legacy-registry` forces a docker daemon to only interact with registries which support the V2 protocol. Specifically, the daemon will not attempt `push`, `pull` and `login` to v1 registries. The exception to this is `search` which can still be performed on v1 registries. |
|
| 904 |
+Operations against registries supporting only the legacy v1 protocol are |
|
| 905 |
+disabled by default. Specifically, the daemon will not attempt `push`, |
|
| 906 |
+`pull` and `login` to v1 registries. The exception to this is `search` |
|
| 907 |
+which can still be performed on v1 registries. |
|
| 908 |
+ |
|
| 909 |
+Add `"disable-legacy-registry":false` to the [daemon configuration |
|
| 910 |
+file](#daemon-configuration-file), or set the |
|
| 911 |
+`--disable-legacy-registry=false` flag, if you need to interact with |
|
| 912 |
+registries that have not yet migrated to the v2 protocol. |
|
| 913 |
+ |
|
| 914 |
+Interaction v1 registries will no longer be supported in Docker v17.12, |
|
| 915 |
+and the `disable-legacy-registry` configuration option will be removed. |
|
| 905 | 916 |
|
| 906 | 917 |
#### Running a Docker daemon behind an HTTPS_PROXY |
| 907 | 918 |
|
| ... | ... |
@@ -192,7 +192,7 @@ $ sudo dockerd --add-runtime runc=runc --add-runtime custom=/usr/local/bin/my-ru |
| 192 | 192 |
Default ulimits for containers. |
| 193 | 193 |
|
| 194 | 194 |
**--disable-legacy-registry**=*true*|*false* |
| 195 |
- Disable contacting legacy registries |
|
| 195 |
+ Disable contacting legacy registries. Default is `true`. |
|
| 196 | 196 |
|
| 197 | 197 |
**--dns**="" |
| 198 | 198 |
Force Docker to use specific DNS servers |