DEV Community

Cover image for Understanding Docker: part 4 – Docker images
Aurélie Vache
Aurélie Vache

Posted on • Edited on

20 4

Understanding Docker: part 4 – Docker images

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 docker images.

Alt Text
Alt Text
Alt Text

If you are interested, I published all the sketchnotes on Docker (and new ones!) to make a "book" of 93 pages: "Understanding Docker in a visual way".

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

Image of Datadog

Measure and Advance Your DevSecOps Maturity

In this white paper, we lay out a DevSecOps maturity model based on our experience helping thousands of organizations advance their DevSecOps practices. Learn the key competencies and practices across four distinct levels of maturity.

Get The White Paper

Top comments (4)

Collapse
 
pavithraes profile image
Pavithra Eswaramoorthy

I love your sketchnotes!

Collapse
 
aurelievache profile image
Aurélie Vache

Thanks Pavithra! 😊

Collapse
 
bluefire153 profile image
Tien Do • Edited

In order to remove docker image, you need to stop all containers which related to that image first, don't you?

Collapse
 
aurelievache profile image
Aurélie Vache

Yes if you try to remove an image and a running container exists, rmi command will not be a success.

BUT you can force a remove image command :-) :

$ docker rmi ubuntu:latest
Error response from daemon: conflict: unable to remove repository reference "ubuntu:latest" (must force) - container 988cb10f88b8 is using its referenced image f643c72bc252

$ docker rmi ubuntu:latest --force
Untagged: ubuntu:latest
Untagged: ubuntu@sha256:c95a8e48bf88e9849f3e0f723d9f49fa12c5a00cfc6e60d2bc99d87555295e4c

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay