4 ms·
And after all that, RedHat dumps Docker and Docker adopts Kubernetes. He should have stuck with the stability of FreeBSD--which he prefers--and used jails.
by sureaboutthis 8y ago
And after all that, RedHat dumps Docker and Docker adopts Kubernetes. He should have stuck with the stability of FreeBSD--which he prefers--and used jails.
- icebraining 8y agoJails are just the runtime mechanism, equivalent to cgroups/namespaces/etc in Linux. What Docker provides is the tooling for repeatable container setups, so you can have a single configuration file that you can deploy locally for testing and then on the server. What would you use for doing the same with jails?
- sgt 8y agoBut Kubernetes still uses Docker, don't they?
- 1337shadow 8y agoKubernetes 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...
- Jolter 8y agoWhy, do you think Docker is doomed now? Or do you just personally prefer to work with Jails?