summaryrefslogtreecommitdiff
path: root/docs/reference/commandline/push.md
blob: 81091b1430b7236e29b3fbef663d47e08c451b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!--[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).