News

Dominykas Palšis: Goodbye, Docker? What Kubernetes 1.20 Really Means

December 14, 20202 min read
Dominykas Palšis: Goodbye, Docker? What Kubernetes 1.20 Really Means

The new Kubernetes version 1.20 promises significant changes: Docker will start to be deprecated as a container runtime. Although the news sounds big and important, there is no reason to panic – especially if you have an external managed services provider.

Our existing and potential clients will hardly notice this transformation, because it concerns building and managing the Kubernetes clusters themselves – and that part of the work is almost always done by our DevOps team, whether on our Private Cloud or on the AWS, MS Azure or Google Cloud platforms.

What will happen?

Until now, the container runtime used in many Kubernetes clusters has been Docker. That will no longer be the case. In Kubernetes 1.20, the Docker container runtime is no longer compatible with the CRI (Container Runtime Interface), which becomes mandatory.

It is worth knowing that container images built with Docker will continue to work in Kubernetes clusters just as before, regardless of which CRI-compatible container runtime is chosen for the cluster.

What’s next for Docker?

These changes do not mean the death of Docker, nor do they mean that developers will no longer be able to use Docker as a tool for building and developing containers.

Docker will remain a useful tool for creating containers, and container images produced with the docker build command have worked and should continue to work in Kubernetes clusters.

If you use a managed Kubernetes service such as Google Kubernetes Engine (GKE), Amazon Elastic Kubernetes Service (EKS) or Azure Kubernetes Service (AKS), whose default container runtime is containerd, before upgrading your cluster you will only need to make sure that your worker nodes use a CRI-compatible container runtime, as the new Kubernetes 1.20 no longer supports the Docker container runtime.

No danger for custom containers

If you have non-standard or customised containers, you will need to update them according to the requirements of the container runtime chosen for your Kubernetes cluster. The easiest option is to entrust this to a managed cloud services provider. BTT Cloud (now Skaylink) DevOps professionals will help ensure a smooth migration and the proper execution of the upgrade and testing plan.

If you run a dedicated Kubernetes cluster, changes are unavoidable. Once Kubernetes v1.20 is installed, Docker container runtime support will be deprecated.

After the v1.22 upgrade (planned for late 2021), the Docker container runtime will no longer be supported, so configure your existing containers to use containerd or another CRI runtime supported by Kubernetes. (In the end, dockershim was removed in Kubernetes 1.24, released in 2022.)

Vytenis SAKALAS: Kubernetes said “Goodbye Docker, Hello Containers”. What should developers say?

Kubernetes said goodbye Docker, hello containers – article by Vytenis Sakalas

Further reading:

Get in touch

Let's talk about your IT

Tell us what matters to you – we will suggest a solution and reply within one business day.

  • A Vodafone Group company, 20 years in Lithuania
  • 100+ IT and Cloud specialists in Vilnius, Kaunas, Klaipėda and Šiauliai
  • 24/7 IT support: +370 5 203 4380
Get a free Cloud Check-Up →
Skaylink
Privacy Policy

We use cookies on this website to ensure smooth website performance and improve your browsing experience. Cookies help us save your preferences, recognize returning visitors, and analyze which parts of the website are most relevant to you.

Privacy Policy