I want to pull all the images with tag 1.2.0
from here.
Is this possible?
To pull all images from a repository, provide the -a (or --all-tags ) option when using docker pull .
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.
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 .
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.
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://).
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With