How to Use Docker Engine as a Kubernetes Runtime via cri-dockerd on Ubuntu
Since Kubernetes 1.24 removed native dockershim support, users who need Docker Engine as a node runtime must now rely on cri-dockerd, an open-source CRI adapter maintained by Mirantis. The setup involves installing Docker Engine from its official repository, configuring the systemd cgroup driver, and pointing the kubelet to the cri-dockerd socket during cluster initialization. This approach is recommended only for specific use cases, such as teams with Docker-dependent tooling, shared image stores, or vendor requirements that assume Docker Engine. While the shared image store between kubelet and Docker is a convenience, administrators are advised to use crictl for managing cluster containers to avoid interfering with Kubernetes-managed processes. For most users without these specific needs, containerd remains the simpler and more reliable alternative.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in