Different ways to build container images

In 2015 Docker and some other leaders in container technologies created the OCI (Open Container Initiative) to define :

  • the Image Specification: how a container image must be structured
  • the Runtime Specification: how a container must be run from an Image Specification

The commanddocker image build is probably the best known to create a container image. However on top of Docker there are other tools that know how to build an image (how to structure its filesystem and provide the associated metadata) so that it conforms to the image specification.

In this article we will illustrate the usage of 3 of those tools in the context of a GitLab CI pipeline:

#devops #docker #kubernetes #buildah #kaniko

Docker, Kaniko, Buildah
1.80 GEEK