DEV Community


Discussion on: Understanding Docker: part 1 – Retrieve & Pull images

viniciusrio profile image
Vinicius Rio • Edited

Sketchnotes were unknown to me, but is very easy to read and understand. I have one question: this command

$ docker pull myrepo/ubuntu:lastest
Enter fullscreen mode Exit fullscreen mode

get all layers from this latest version, right?

$ docker pull-all-tags ubuntu 
Enter fullscreen mode Exit fullscreen mode

And get all versions/tags from the repository, right?

Say that, which a difference between getting all layers from a tag and getting all tags?


aurelievache profile image
Aurélie Vache Author

Docker pull my-image:version allows you to pull only one image in only one version.
For example you want to pull the latest version of Ubuntu images.

Second commands allows you to pull (retrieve) all the version of an image.

A version is specified in a tag.

Is it a little bit clear?