From the course: Certified Kubernetes Application Developer (CKAD) Cert Prep

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Image creation options

Image creation options

- So as I mentioned, you probably want to create your own images. Now how does that work? Well, you know that containers have become the standard for distributing applications and that means that you need to be able to create images. Creating images is not so difficult. There are different methods that you can use. First, there is docker commit. Docker commit allows you to create a custom image by saving changes that are made to a running container. It works, but it's not what I would recommend. Dockerfile also known as Containerfile, builds a custom image based on components that are defined in the Docker file. Hey, how about terminology? Well, Dockerfile is what you would use in Docker environments, and Containerfile, it's what Red Hat wants you to use. That's more common in Podman environments because for Podman, Docker is like the competition. So use whatever you feel good with, either Dockerfile or Containerfile. Both will be okay. Then we have buildah. Buildah is an advanced…

Contents