4 ms·
Kubernetes relies on containerd which works with docker, rkt or anything that works with containerd. The prefered alternative to docker is rkt.
by 1337shadow 8y ago
Kubernetes relies on containerd which works with docker, rkt or anything that works with containerd.
The prefered alternative to docker is rkt.
- sascha_sl 8y agoNo they don't. Containerd is the code Moby and Docker are built from, developed at Docker Inc. Kubernetes will take anything that implements CRI. https://cri-o.io/ https://cri-o.io/ https://kubernetes.io/docs/setup/cri/ https://kubernetes.io/docs/setup/cri/
- 1337shadow 8y agoAll right ! Thanks for the heads up, deeply appreciated. However, I still stand with rkt rather than docker...
- sascha_sl 8y agoIt can be quite complicated if you use a docker version without containerd's CRI. And you do if you follow the version recommendations (because docker has a lot of regressions). GKE does it, so we do it. Kubelet actually has a translation layer baked into it that it starts in-process when detecting docker, which provides the gRPC CRI interface on a real filesystem socket. https://github.com/kubernetes/kubernetes/tree/master/pkg/kubelet/dockershim https://github.com/kubernetes/kubernetes/tree/master/pkg/kub...