Docker on K8s
Traditional docker engine in K8s is kaput, gone. We need to build docker images another way.
Different ways of building your docker containers in K8s without docker engine
|BuildKit||DOCKER_BUILDKIT=1 docker build .||-|
|Buildah and Podman||Docker Compose in the K8s cloud||developed by RedHat|
|kaniko||Build container images from a Dockerfile, inside a container or Kubernetes cluster||-|
|k3c||Docker for Kubernetes (to use with k3s)||-|
|Bazel||Google’s generic build system.
||no Dockerfile needed|
Which one is the best?
- Current recommendation is BuildKit or Kaniko.