mirror of
https://github.com/docker/docs.git
synced 2026-03-30 07:48:52 +07:00
31 lines
747 B
Markdown
31 lines
747 B
Markdown
---
|
|
description: The push command description and usage
|
|
keywords:
|
|
- share, push, image
|
|
menu:
|
|
main:
|
|
parent: smn_cli
|
|
title: push
|
|
---
|
|
|
|
# push
|
|
|
|
```markdown
|
|
Usage: docker push [OPTIONS] NAME[:TAG]
|
|
|
|
Push an image or a repository to a registry
|
|
|
|
Options:
|
|
--disable-content-trust Skip image verification (default true)
|
|
--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.
|
|
[Read more about valid image names and tags](tag.md).
|
|
|
|
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).
|