What is a Container Image?

What is a Container Image?

Jan 24, 2023

What does it mean to build a container image? What are layers in docker images?
How do you make sense of all the commands and instructions in a dockerfile?
Why is it better to use slim base images vs full linux distros?

In this video, we answer these questions, and more!
While it's easy to create your container images from a dockerfile, there might be some technicalities hidden behind the tools that you need to understand.

We will show in a hands on section how to inspect existing images and why it's better for security to start from slim images.

Want to know more about what our Threat Research Team found while scanning container images on docker hub?
Read about it in this blog: https://sysdig.com/blog/2022-sysdig-cloud-native-threat-report/

Download the full threat report: https://sysdig.com/resources/reports/2022-cloud-native-threat-report/


0:00 Intro

0:20 Key concepts

3:23 How container images are built

5:50 Inspecting the python:slim-buster image

6:59 Building a new container image

8:15 Distroless vs full linux images

9:18 Outro