DEV Community

loading...
Cover image for Understanding Docker: part 1 – Retrieve & Pull images

Understanding Docker: part 1 – Retrieve & Pull images

aurelievache profile image Aurélie Vache ・1 min read

Understanding Docker can be difficult or time-consuming. In order to spread knowledges about Cloud technologies I started to create sketchnotes about Docker. I think it could be a good way, more visual, to explain Docker (and others technologies like Kubernetes and Istio).

We start the serie of Docker Sketchnotes with a focus about retrieve and pull images.

Alt Text
Alt Text
Alt Text
Alt Text

As usual, if you like theses sketchnotes, you can follow me, and tell me what do you think. I will publish others sketchs shortly :-).

Discussion

pic
Editor guide
Collapse
viniciusrio profile image
Vinicius Rio

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?

Thanks!

Collapse
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?

Thanks