Mirantis will support deprecated Kubernetes dockershim

Mirantis, which owns Docker Enterprise, along with Docker, will continue to maintain the shim code standalone outside Kubernetes as a CRI interface for Docker Engine.

It was only a few days ago in the forthcoming Kubernetes 1.20 release notesKubernetes, everyone’s favorite container orchestrator, that Kubernetes developers announced: “Docker support in the kubelet is now deprecated and will be removed in a future release.” Old-school Docker developers were not happy. But, at a closer look, dockershim removal from Kubernetes really wasn’t that bad. But now Mirantis, which owns Docker Enterprise Platform, along with Docker, will continue to support dockershim as a Kubernetes-compatible Container Runtime Interface (CRI) for Docker Engine.

What does all that mean for programmers? Adam Parco, Mirantis‘s VP of engineering, explained: “For Mirantis customers, that means that Docker Engine’s commercially supported version, Mirantis Container Runtime (MCR), will be CRI compliant.”

But don’t worry if you’re not a Mirantis customer and you don’t want to switch to a more modern CRI such as the runc-based containerd and CRI-O. Mirantis and Docker, starting with Davanum Srinivas’s open-source cri-dockerd project, will continue to make it available as an open-source project, Mirantis cri-dockerd. This means that you can continue to build Kubernetes based on the Docker Engine just like always. You’ll just need to switch from Kubernetes’s built-in dockershim to the external one.

It should be as easy as one minor code change in your Docker-based containers on Kubernetes. Parco explained, “We will work together on making sure it continues to work as well as before and that it passes all the conformance tests and continues to work just like the built-in version did. Mirantis will be using this in Mirantis Kubernetes Engine, and Docker will continue to ship this shim in Docker Desktop.”

The reason for all this fuss is that people still think Docker means containers and containers means Docker. It was never that simple.

Containers date back to at least the year 2000 and FreeBSD Jails. Oracle Solaris also has a similar concept, called Zones, while companies such as Parallels, Google, and Docker have been working in such open-source projects as OpenVZ and LXC (Linux Containers) to make containers work well and securely. Long before many of you’d ever heard of Docker or containers, you were using them every time you visited Google, with its lmctfy (Let Me Contain That For You).
Docker containers, which are built on top of LXC.

All containers have their own file system, storage, CPU, RAM, and so on. The key difference between containers and virtual machines (VM)s is, while the VM hypervisor abstracts an entire device, containers just abstract the operating system kernel.

 

continue reading at zdnet.com

Leave a Reply

Your email address will not be published. Required fields are marked *