Images with Multiple Tags

Look at Docker images with multiple tags and learn why we have them.

Why are there multiple tags?

An important point about image tags: a single image can have as many tags as you want. This is because tags are arbitrary alpha-numeric values that are stored as metadata alongside the image. Let’s look at an example.

Pull all of the images in a repository by adding the -a flag to the docker image pull command. Then run docker image ls to look at the images pulled.

It’s probably not a good idea to pull all images from an repository because Microsoft images can be so large. Also, if the repository you are pulling contains images for multiple architectures and platforms, such as Linux and Windows, the command is likely to fail. We recommend you use the command and repository in the following example.

Get hands-on with 1000+ tech skills courses.