Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pull all images with specific tag from repository

I want to pull all the images with tag 1.2.0 from here.

Is this possible?

like image 747
DenCowboy Avatar asked Jun 15 '16 12:06

DenCowboy


People also ask

What is the command to pull all the images having different tag names from a Docker Hub repository at once?

To pull all images from a repository, provide the -a (or --all-tags ) option when using docker pull .

How do I map a custom tag for an image in docker?

You can pull a Docker Image using the pull sub-command. You can specify the tag of the Image that you want to pull. Note that if you don't specify a tag, it will automatically pull the latest version of the Image by appending the “latest” tag to the Image.

How do I pull all images from a repository?

A repository can contain multiple images. To pull all images from a repository, provide the -a (or --all-tags) option when using docker image pull .

How do I pull an image from Docker repository?

Docker Pull Command We can use the Docker Pull command to download a particular image or repository from the Dockerhub registry. A repository is a set of images. If we don’t provide any tag along with the image name in the Docker pull command, then it automatically uses the latest tag by default.

How do I pull images from a different registry?

Pull from a different registry. By default, docker pull pulls images from Docker Hub. It is also possible to manually specify the path of a registry to pull from. For example, if you have set up a local registry, you can specify its path to pull from it. A registry path is similar to a URL, but does not contain a protocol specifier (https://).

How do I pull an image by its digest?

Docker enables you to pull an image by its digest. When pulling an image by digest, you specify exactly which version of an image to pull. Doing so, allows you to "pin" an image to that version, and guarantee that the image you're using is always the same. To know the digest of an image, pull the image first.


1 Answers

You pull specific tags with the following syntax:

docker pull fedora:1.0 

From your new question, you appear to want to pull multiple repositories from a specific login on Docker Hub. I'm not aware of a command that supports this but you should be able to script the docker search output.

like image 189
BMitch Avatar answered Oct 05 '22 23:10

BMitch