Docker pull: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
=Overview= | =Overview= | ||
Pull an image or a repository from a [[Docker_Concepts#Image_Registry|registry]] and place it into the [[Docker_Concepts#Local_Image_Registry|local registry]]: | Pull an [[Docker Concepts#Image|image]] or a [[Docker Concepts#Image_Repository|repository]] from a [[Docker_Concepts#Image_Registry|registry]] and place it into the [[Docker_Concepts#Local_Image_Registry|local registry]]: | ||
docker pull <''name''>[:<''tag''>] | docker pull <''name''>[:<''tag''>] |
Revision as of 05:19, 5 December 2017
Internal
Overview
Pull an image or a repository from a registry and place it into the local registry:
docker pull <name>[:<tag>]
The command will only pull the layers that do not exist in the local repository.
Example
docker pull registry.access.redhat.com/openshift3/jenkins-2-rhel7 Using default tag: latest Trying to pull repository registry.access.redhat.com/openshift3/jenkins-2-rhel7 ... sha256:c2e5ffc909fc598628caebe56571849cbcbeea6c99f885a9870cb8c5967d5111: Pulling from registry.access.redhat.com/openshift3/jenkins-2-rhel7 26e5ed6899db: Already exists 66dbe984a319: Already exists 634b7b97a070: Already exists Digest: sha256:c2e5ffc909fc598628caebe56571849cbcbeea6c99f885a9870cb8c5967d5111 Status: Image is up to date for registry.access.redhat.com/openshift3/jenkins-2-rhel7:latest