2014-04-16 14:07:55 -04:00
|
|
|
% DOCKER(1) Docker User Manuals
|
2014-06-30 22:58:04 -04:00
|
|
|
% Docker Community
|
|
|
|
% JUNE 2014
|
2014-04-16 14:07:55 -04:00
|
|
|
# NAME
|
|
|
|
docker-pull - Pull an image or a repository from the registry
|
|
|
|
|
|
|
|
# SYNOPSIS
|
2014-06-30 22:58:04 -04:00
|
|
|
**docker pull**
|
|
|
|
NAME[:TAG]
|
2014-04-16 14:07:55 -04:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
This command pulls down an image or a repository from the registry. If
|
2014-06-29 21:31:15 -04:00
|
|
|
there is more than one image for a repository (e.g., fedora) then all
|
2014-04-16 14:07:55 -04:00
|
|
|
images for that repository name are pulled down including any tags.
|
2014-06-09 10:59:49 -04:00
|
|
|
It is also possible to specify a non-default registry to pull from.
|
2014-04-16 14:07:55 -04:00
|
|
|
|
2014-06-30 22:58:04 -04:00
|
|
|
# OPTIONS
|
|
|
|
There are no available options.
|
|
|
|
|
2014-06-09 10:59:49 -04:00
|
|
|
# EXAMPLES
|
2014-04-16 14:07:55 -04:00
|
|
|
|
2014-06-09 10:59:49 -04:00
|
|
|
# Pull a repository with multiple images
|
2014-04-16 14:07:55 -04:00
|
|
|
|
|
|
|
$ sudo docker pull fedora
|
|
|
|
Pulling repository fedora
|
|
|
|
ad57ef8d78d7: Download complete
|
|
|
|
105182bb5e8b: Download complete
|
|
|
|
511136ea3c5a: Download complete
|
|
|
|
73bd853d2ea5: Download complete
|
|
|
|
|
|
|
|
$ sudo docker images
|
|
|
|
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
|
|
|
|
fedora rawhide ad57ef8d78d7 5 days ago 359.3 MB
|
|
|
|
fedora 20 105182bb5e8b 5 days ago 372.7 MB
|
|
|
|
fedora heisenbug 105182bb5e8b 5 days ago 372.7 MB
|
|
|
|
fedora latest 105182bb5e8b 5 days ago 372.7 MB
|
|
|
|
|
2014-06-09 10:59:49 -04:00
|
|
|
# Pull an image, manually specifying path to the registry and tag
|
|
|
|
|
|
|
|
$ sudo docker pull registry.hub.docker.com/fedora:20
|
|
|
|
Pulling repository fedora
|
|
|
|
3f2fed40e4b0: Download complete
|
|
|
|
511136ea3c5a: Download complete
|
|
|
|
fd241224e9cf: Download complete
|
|
|
|
|
|
|
|
$ sudo docker images
|
|
|
|
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
|
|
|
|
fedora 20 3f2fed40e4b0 4 days ago 372.7 MB
|
|
|
|
|
|
|
|
|
2014-04-16 14:07:55 -04:00
|
|
|
# HISTORY
|
|
|
|
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
2014-07-01 20:30:25 -04:00
|
|
|
based on docker.com source material and internal work.
|
2014-07-02 21:07:42 -04:00
|
|
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|