What is a container image?

Jon Goldman
2 min readDec 1, 2019

--

A container image is a tar file containing tar files. Each of the tar file is a layer. Once all tar files have been extract into the same location then you have the container’s filesystem.

This can be explored via Docker. Pull the layers onto your local system.

Creating Empty Image

As an image is just a tar file, an empty image can be created using the command below.

By importing the tar, the additional metadata will be created.

--

--

Jon Goldman
Jon Goldman

Written by Jon Goldman

Cloud Security, Automation, DevOps, AWS, Azure, GCP

No responses yet