Difficulty: beginner
Estimated Time: 10 minutes

In this scenario, we'll understand about layers in docker image.

Docker Images and Layers

Step 1 of 2

Step 1

Layers in docker image

Each Docker image references a list of read-only layers that represent filesystem differences.

Layers are stacked on top of each other to form a base for a container's root filesystem.

Pull debian image to your local system. docker pull debian.

docker history debian shows you list of layers that debian image contains.

More Information you can find out with: docker inspect debian