What Kubernetes dockershim removal changed for Docker users

Published · Updated

Save

Kubernetes removed its built-in dockershim in version 1.24. Docker-built OCI images can still run on a Kubernetes cluster that uses a supported container runtime.

Check what the cluster actually runs

Run kubectl get nodes -o wide and check the runtime reported for each node. Look for Docker socket mounts, logging agents, private-registry settings or node scripts that assumed the Docker daemon. These are separate from the application’s container image.

Migrate dependencies explicitly

Containerd and CRI-O implement the Kubernetes Container Runtime Interface. Migrate registry, logging, metrics and node scripts in a test cluster and verify pull, startup and shutdown behavior. Keep Docker tooling for building images if it fits the development workflow.

References

Kubernetes dockershim migration checks

Supported runtime setup

Discuss this answer