...

/

Layers - Building Blocks in Docker

Layers - Building Blocks in Docker

Layers - speed up the build and pull process of an image by breaking down the components into minor pieces.

We'll cover the following...

Layers

In the last chapter, we saw that when we pulled the Docker hello-world image, it pulled a layer. The hello-world image is a very small-sized image. So, Docker pulled only one layer. If you pull a bigger image, say, Nginx we get something like this:

venkateshs-air:~ venkateshachintalwar$ docker pull nginx
Using the default tag: latest
latest: Pulling from
...