Browse code

Merge pull request #11678 from botchagalupe/docker-11465

Closes #11465 - Add additional doc for local registries on pull command

moxiegirl authored on 2015/03/30 06:10:20
Showing 2 changed files
... ...
@@ -8,7 +8,7 @@ docker-pull - Pull an image or a repository from the registry
8 8
 **docker pull**
9 9
 [**-a**|**--all-tags**[=*false*]]
10 10
 [**--help**] 
11
-NAME[:TAG]
11
+NAME[:TAG] | [REGISTRY_HOST[:REGISTRY_PORT]/]NAME[:TAG]
12 12
 
13 13
 # DESCRIPTION
14 14
 
... ...
@@ -67,3 +67,4 @@ April 2014, Originally compiled by William Henry (whenry at redhat dot com)
67 67
 based on docker.com source material and internal work.
68 68
 June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
69 69
 August 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
70
+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'
1602 1602
 
1603 1603
 ## pull
1604 1604
 
1605
-    Usage: docker pull [OPTIONS] NAME[:TAG]
1605
+    Usage: docker pull [OPTIONS] NAME[:TAG] | [REGISTRY_HOST[:REGISTRY_PORT]/]NAME[:TAG]
1606 1606
 
1607 1607
     Pull an image or a repository from the registry
1608 1608
 
... ...
@@ -1638,6 +1638,7 @@ use `docker pull`:
1638 1638
     $ docker pull registry.hub.docker.com/debian
1639 1639
     # manually specifies the path to the default Docker registry. This could
1640 1640
     # be replaced with the path to a local registry to pull from another source.
1641
+    # sudo docker pull myhub.com:8080/test-image
1641 1642
 
1642 1643
 ## push
1643 1644