mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![Aaron Lehmann](/assets/img/avatar_default.png)
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>
26 lines
709 B
Markdown
26 lines
709 B
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "push"
|
|
description = "The push command description and usage"
|
|
keywords = ["share, push, image"]
|
|
[menu.main]
|
|
parent = "smn_cli"
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
# 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](https://hub.docker.com)
|
|
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](login.md).
|