Docker support is being deprecated in Kubernetes - but not just yet

Shipping containers
(Image credit: Pixabay)

The mention of Kubernetes dropping support for Docker in the release notes for its latest release, raised a lot of eyebrows. 

A tweet by the Kubernetes SIG Security co-chair, Ian Coldwater didn’t help matters, either: "Docker support is being deprecated in Kubernetes. You need to pay attention to this and plan for it. THIS WILL BREAK YOUR CLUSTERS."

The move might come as a shock to anyone who’s been busy spinning up containers and not paying attention to the development of Kubernetes. But it really isn’t such a big deal.

Not the end of the world

In the release notes and in a follow up blog post, Kubernetes developers explain that all they are doing is deprecating Docker as a container runtime after v1.20.

If you’re wondering what’s a container runtime, it’s best explained in a trending tweet by Google Cloud Platform’s Staff Developer Advocate Kelsey Hightower: “Docker != Containers. There are container images. Docker can build them. There are container registries. Docker can push and pull from them. There are container runtimes. Docker is one of them. There are container processes. Docker can create them but Linux is still the boss.”

So all that has happened is that Kubernetes is deprecating (and will eventually remove) Docker as a container runtime in favor of runtimes that use the Container Runtime Interface (CRI), such as containerd and CRI-O.

For the end-users of Kubernetes there shouldn’t be much of a fallout of this move as the developers explain “Docker-produced images will continue to work in your cluster with all runtimes, as they always have.”

However, if you’re rolling your own clusters though, you’ll need to make sure that you don’t use Docker as a container runtime going forward. If you do, you’ll get a depreciation warning with the current v1.20 release. 

If you don’t want your clusters to break, make sure you switch to one of the compliant container runtimes before the runtime support for Docker is removed, which is currently planned for v1.22 due in late 2021.

All in all, this move is about enforcing best practices and little else.

Via: The Register

Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.

Latest in Software & Services
TinEye website
I like this reverse image search service the most
A person in a wheelchair working at a computer.
Here’s a free way to find long lost relatives and friends
A white woman with long brown hair in a ponytail looks down at her computer in a distressed manner. She is holding her forehead with one hand and a credit card with the other
This people search finder covers all the bases, but it's not perfect
That's Them home page
Is That's Them worth it? My honest review
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Latest in News
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 23 (game #1154)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Sunday, March 23 (game #385)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Sunday, March 23 (game #651)
Google Pixel 9 Pro Fold main display opened
Apple is rumored to be prioritizing battery life on the foldable iPhone – which could also feature a liquid metal hinge for added durability
Google Pixel 9
The Google Pixel 10 just showed up in Android code – and may come with a useful speed boost
L-mount alliance
Sirui joins L-Mount Alliance to deliver its superb budget lenses for Leica, DJI, Sigma and Panasonic cameras