summaryrefslogtreecommitdiff
path: root/docs/reference/commandline/push.md
diff options
context:
space:
mode:
authorMisty Stanley-Jones <misty@apache.org>2017-04-03 16:54:34 -0700
committerGitHub <noreply@github.com>2017-04-03 16:54:34 -0700
commit473c5701cb66403b0535a5c01845cb0f27fbeb47 (patch)
tree9a40326ad4b426655abca7377dc30da003847d4d /docs/reference/commandline/push.md
parentce07fb6b0f1b8765b92022e45f96bd4349812e06 (diff)
parent71e6babfa2598669218177b5b429e873b7f35e8f (diff)
downloaddocker-1.13.x.tar.gz
Merge pull request #32332 from mstanleyjones/1.13.x1.13.x
Cherry-pick command-line ref improvements
Diffstat (limited to 'docs/reference/commandline/push.md')
-rw-r--r--docs/reference/commandline/push.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/reference/commandline/push.md b/docs/reference/commandline/push.md
index e36fd026d1..d33804d6c4 100644
--- a/docs/reference/commandline/push.md
+++ b/docs/reference/commandline/push.md
@@ -25,6 +25,8 @@ Options:
--help Print usage
```
+## Description
+
Use `docker push` to share your images to the [Docker Hub](https://hub.docker.com)
registry or to a self-hosted one.
@@ -36,7 +38,7 @@ running in a terminal, terminates the push operation.
Registry credentials are managed by [docker login](login.md).
-## Concurrent uploads
+### Concurrent uploads
By default the Docker daemon will push five layers of an image at a time.
If you are on a low bandwidth connection this may cause timeout issues and you may want to lower
@@ -45,7 +47,7 @@ this via the `--max-concurrent-uploads` daemon option. See the
## Examples
-### Pushing a new image to a registry
+### Push a new image to a registry
First save the new image by finding the container ID (using [`docker ps`](ps.md))
and then committing it to a new image name. Note that only `a-z0-9-_.` are
@@ -62,6 +64,7 @@ registry:
```bash
$ docker tag rhel-httpd registry-host:5000/myadmin/rhel-httpd
+
$ docker push registry-host:5000/myadmin/rhel-httpd
```