From the course: Automating Kubernetes with GitOps

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Understanding image formats

Understanding image formats

- All right, in this video, we are going to talk about container images. I'm assuming that you already know about containers, so we are quickly zooming in on what we need to know for GitOps. So the container is a running instance of an image, and the image itself contains application code, language runtime, and libraries. External libraries such as libc are typically provided by the host operating system, but in a container, they need to be included in the image as well. And while starting a container, the image is copied directly on the host where it runs. And container images are highly compatible, and either defined in Docker or in the OCI format. To get container images, you normally go to the container registry. The Docker registry at http://hub.docker.com contains many images and is commonly used. Other public image registries are available as well, and you can even create private registries if you want. Now the important thing for us is how to create custom images because…

Contents