mirror of https://github.com/docker/cli.git
Command line, manpage and deprecation documentation.
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
This commit is contained in:
parent
841fc5d155
commit
2f288fe894
|
@ -49,6 +49,7 @@ weight=1
|
|||
--log-driver="json-file" Default driver for container logs
|
||||
--log-opt=[] Log driver specific options
|
||||
--mtu=0 Set the containers network MTU
|
||||
--no-legacy-registry=false Do not contact legacy registries
|
||||
-p, --pidfile="/var/run/docker.pid" Path to use for daemon PID file
|
||||
--registry-mirror=[] Preferred Docker registry mirror
|
||||
-s, --storage-driver="" Storage driver to use
|
||||
|
@ -457,6 +458,10 @@ because its use creates security vulnerabilities it should ONLY be enabled for
|
|||
testing purposes. For increased security, users should add their CA to their
|
||||
system's list of trusted CAs instead of enabling `--insecure-registry`.
|
||||
|
||||
## Legacy Registries
|
||||
|
||||
Enabling `--no-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.
|
||||
|
||||
## Running a Docker daemon behind a HTTPS_PROXY
|
||||
|
||||
When running inside a LAN that uses a `HTTPS` proxy, the Docker Hub
|
||||
|
|
|
@ -40,6 +40,7 @@ docker-daemon - Enable daemon mode
|
|||
[**--log-driver**[=*json-file*]]
|
||||
[**--log-opt**[=*map[]*]]
|
||||
[**--mtu**[=*0*]]
|
||||
[**--no-legacy-registry**[=*false*]]
|
||||
[**-p**|**--pidfile**[=*/var/run/docker.pid*]]
|
||||
[**--registry-mirror**[=*[]*]]
|
||||
[**-s**|**--storage-driver**[=*STORAGE-DRIVER*]]
|
||||
|
@ -170,6 +171,9 @@ unix://[/path/to/socket] to use.
|
|||
**--mtu**=VALUE
|
||||
Set the containers network mtu. Default is `0`.
|
||||
|
||||
**--no-legacy-registry**=*true*|*false*
|
||||
Do not contact legacy registries
|
||||
|
||||
**-p**, **--pidfile**=""
|
||||
Path to use for daemon PID file. Default is `/var/run/docker.pid`
|
||||
|
||||
|
|
Loading…
Reference in New Issue