diff --git a/docker-training/sections/docker-images.html b/docker-training/sections/docker-images.html index 075c9d1..d3a8aba 100644 --- a/docker-training/sections/docker-images.html +++ b/docker-training/sections/docker-images.html @@ -1,23 +1,166 @@

Docker Images

Images & Layers

-
-
-

-FROM ubuntu:24.04
-COPY . /app
-RUN make /app
-CMD python /app/app.py
-      
-
-
- Docker Images and Layers -
-
+ + Docker image layers diagram + A Dockerfile with four instructions (FROM, COPY, RUN, CMD) on the right, each connected by an arrow to the read-only image layer it creates on the left. + + + + + + + + + + + + + + + + + Thin R/W layer + + + + Container layer + + + + + + + + + + + + + + + + + + + 91e54dfb1179 + 0 B + + + + d74508fb6632 + 1.895 KB + + + + c22013c84729 + 194.5 KB + + + + d3a1f33e8a5a + 188.1 MB + + + ubuntu:15.04 + + + + + + + + + + + Image layers (R/O) + + + Container + (based on ubuntu:15.04 image) + + + + + Dockerfile: + + + + + + + + + + FROM ubuntu:15.04 + + + COPY . /app + + + RUN make /app + + + CMD python /app/app.py + + + + + + + + + + +

Container Layer