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:
commit
41e47bbf34
2 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue