@@ -67,18 +67,18 @@ docker.io/library/debian:latest
6767Docker images can consist of multiple layers. In the example above, the image
6868consists of a single layer; ` e756f3fdd6a3 ` .
6969
70- Layers can be reused by images. For example, the ` debian:bullseye ` image shares
71- its layer with the ` debian:latest ` . Pulling the ` debian:bullseye ` image therefore
70+ Layers can be reused by images. For example, the ` debian:bookworm ` image shares
71+ its layer with the ` debian:latest ` . Pulling the ` debian:bookworm ` image therefore
7272only pulls its metadata, but not its layers, because the layer is already present
7373locally:
7474
7575``` console
76- $ docker image pull debian:bullseye
76+ $ docker image pull debian:bookworm
7777
78- bullseye : Pulling from library/debian
78+ bookworm : Pulling from library/debian
7979Digest: sha256:3f1d6c17773a45c97bd8f158d665c9709d7b29ed7917ac934086ad96f92e4510
80- Status: Downloaded newer image for debian:bullseye
81- docker.io/library/debian:bullseye
80+ Status: Downloaded newer image for debian:bookworm
81+ docker.io/library/debian:bookworm
8282```
8383
8484To see which images are present locally, use the [ ` docker images ` ] ( images.md )
@@ -88,13 +88,13 @@ command:
8888$ docker images
8989
9090REPOSITORY TAG IMAGE ID CREATED SIZE
91- debian bullseye 4eacea30377a 8 days ago 124MB
91+ debian bookworm 4eacea30377a 8 days ago 124MB
9292debian latest 4eacea30377a 8 days ago 124MB
9393```
9494
9595Docker uses a content-addressable image store, and the image ID is a SHA256
9696digest covering the image's configuration and layers. In the example above,
97- ` debian:bullseye ` and ` debian:latest ` have the same image ID because they are
97+ ` debian:bookworm ` and ` debian:latest ` have the same image ID because they are
9898the * same* image tagged with different names. Because they are the same image,
9999their layers are stored only once and do not consume extra disk space.
100100
0 commit comments