1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/reference/commandline/push.md
Aaron Lehmann 85d1517184 Mention "docker login" in push/pull documentation
It was suggested to me that documentation for "docker pull" and "docker
push" should reference "docker login", to make clearer how to specify
credentials for a push or pull operation. Add a note to the manual pages
and reference documentation explaining how registry credentials are
managed.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit fb5ea0c0ef)
2016-03-31 18:35:03 -04:00

709 B

push

Usage: docker push [OPTIONS] NAME[:TAG]

Push an image or a repository to the registry

  --disable-content-trust=true   Skip image signing
  --help                         Print usage

Use docker push to share your images to the Docker Hub registry or to a self-hosted one.

Killing the docker push process, for example by pressing CTRL-c while it is running in a terminal, will terminate the push operation.

Registry credentials are managed by docker login.