The `DOCKER_HIDE_LEGACY_COMMANDS` environment
variable was added in a7c8bcac2ba60d6dd25a1157085d9245bed556ce
but not documented.
This adds the variable to the documentation.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 2ef82fd23789c906acf9dd06b3be10568ca7191d)
Signed-off-by: Victor Vieux <vieux@docker.com>
| ... | ... |
@@ -69,6 +69,9 @@ by the `docker` command line: |
| 69 | 69 |
Equates to `--disable-content-trust=false` for build, create, pull, push, run. |
| 70 | 70 |
* `DOCKER_CONTENT_TRUST_SERVER` The URL of the Notary server to use. This defaults |
| 71 | 71 |
to the same URL as the registry. |
| 72 |
+* `DOCKER_HIDE_LEGACY_COMMANDS` When set, Docker hides "legacy" top-level commands (such as `docker rm`, and |
|
| 73 |
+ `docker pull`) in `docker help` output, and only `Management commands` per object-type (e.g., `docker container`) are |
|
| 74 |
+ printed. This may become the default in a future release, at which point this environment-variable is removed. |
|
| 72 | 75 |
* `DOCKER_TMPDIR` Location for temporary Docker files. |
| 73 | 76 |
|
| 74 | 77 |
Because Docker is developed using Go, you can also use any environment |