1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #11678 from botchagalupe/docker-11465

Closes #11465 - Add additional doc for local registries on pull command
This commit is contained in:
moxiegirl 2015-03-29 14:10:20 -07:00
commit 41e47bbf34
2 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,7 @@ docker-pull - Pull an image or a repository from the registry
**docker pull** **docker pull**
[**-a**|**--all-tags**[=*false*]] [**-a**|**--all-tags**[=*false*]]
[**--help**] [**--help**]
NAME[:TAG] NAME[:TAG] | [REGISTRY_HOST[:REGISTRY_PORT]/]NAME[:TAG]
# DESCRIPTION # DESCRIPTION
@ -67,3 +67,4 @@ April 2014, Originally compiled by William Henry (whenry at redhat dot com)
based on docker.com source material and internal work. based on docker.com source material and internal work.
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au> June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
August 2014, updated by Sven Dowideit <SvenDowideit@home.org.au> August 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
April 2015, updated by John Willis <john.willis@docker.com>

View file

@ -1602,7 +1602,7 @@ This shows all the containers that have exited with status of '0'
## pull ## pull
Usage: docker pull [OPTIONS] NAME[:TAG] Usage: docker pull [OPTIONS] NAME[:TAG] | [REGISTRY_HOST[:REGISTRY_PORT]/]NAME[:TAG]
Pull an image or a repository from the registry Pull an image or a repository from the registry
@ -1638,6 +1638,7 @@ use `docker pull`:
$ docker pull registry.hub.docker.com/debian $ docker pull registry.hub.docker.com/debian
# manually specifies the path to the default Docker registry. This could # manually specifies the path to the default Docker registry. This could
# be replaced with the path to a local registry to pull from another source. # be replaced with the path to a local registry to pull from another source.
# sudo docker pull myhub.com:8080/test-image
## push ## push