Add cmdline docs for signing and verification flows

Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
This commit is contained in:
Nathan McCauley 2015-07-07 20:14:47 -07:00 committed by Tibor Vass
parent e52d8f2291
commit 53d11aa48e
5 changed files with 7 additions and 0 deletions

View File

@ -49,6 +49,8 @@ by the `docker` command line:
unsuitable for Docker. unsuitable for Docker.
* `DOCKER_RAMDISK` If set this will disable 'pivot_root'. * `DOCKER_RAMDISK` If set this will disable 'pivot_root'.
* `DOCKER_TLS_VERIFY` When set Docker uses TLS and verifies the remote. * `DOCKER_TLS_VERIFY` When set Docker uses TLS and verifies the remote.
* `DOCKER_TRUST` When set Docker uses notary to sign and verify images.
Equates to `--untrusted=false` for build, create, pull, push, run.
* `DOCKER_TMPDIR` Location for temporary Docker files. * `DOCKER_TMPDIR` Location for temporary Docker files.
Because Docker is developed using 'Go', you can also use any environment Because Docker is developed using 'Go', you can also use any environment

View File

@ -61,6 +61,7 @@ Creates a new container.
--restart="no" Restart policy (no, on-failure[:max-retry], always) --restart="no" Restart policy (no, on-failure[:max-retry], always)
--security-opt=[] Security options --security-opt=[] Security options
-t, --tty=false Allocate a pseudo-TTY -t, --tty=false Allocate a pseudo-TTY
--untrusted=true Skip image verification
-u, --user="" Username or UID -u, --user="" Username or UID
--ulimit=[] Ulimit options --ulimit=[] Ulimit options
--uts="" UTS namespace to use --uts="" UTS namespace to use

View File

@ -16,6 +16,7 @@ weight=1
Pull an image or a repository from the registry Pull an image or a repository from the registry
-a, --all-tags=false Download all tagged images in the repository -a, --all-tags=false Download all tagged images in the repository
--untrusted=true Skip image verification
Most of your images will be created on top of a base image from the Most of your images will be created on top of a base image from the
[Docker Hub](https://hub.docker.com) registry. [Docker Hub](https://hub.docker.com) registry.

View File

@ -15,5 +15,7 @@ weight=1
Push an image or a repository to the registry Push an image or a repository to the registry
--untrusted=true Skip image signing
Use `docker push` to share your images to the [Docker Hub](https://hub.docker.com) Use `docker push` to share your images to the [Docker Hub](https://hub.docker.com)
registry or to a self-hosted one. registry or to a self-hosted one.

View File

@ -65,6 +65,7 @@ weight=1
-t, --tty=false Allocate a pseudo-TTY -t, --tty=false Allocate a pseudo-TTY
-u, --user="" Username or UID (format: <name|uid>[:<group|gid>]) -u, --user="" Username or UID (format: <name|uid>[:<group|gid>])
--ulimit=[] Ulimit options --ulimit=[] Ulimit options
--untrusted=true Skip image verification
--uts="" UTS namespace to use --uts="" UTS namespace to use
-v, --volume=[] Bind mount a volume -v, --volume=[] Bind mount a volume
--volumes-from=[] Mount volumes from the specified container(s) --volumes-from=[] Mount volumes from the specified container(s)