# Dockershim is being deprecated in k8s 1.24

**URL:** https://discuss.elastic.co/t/dockershim-is-being-deprecated-in-k8s-1-24/299808
**Category:** Beats
**Tags:** docker, filebeat, metricbeat
**Created:** [March 16, 2022, 3:11am UTC](https://discuss.elastic.co/t/dockershim-is-being-deprecated-in-k8s-1-24/299808 "2022-03-16T03:11:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pooch](https://avatars.discourse-cdn.com/v4/letter/p/dbc845/32.png) [@pooch](https://discuss.elastic.co/u/pooch)
#### Post date: [March 16, 2022, 3:11am UTC](https://discuss.elastic.co/t/dockershim-is-being-deprecated-in-k8s-1-24/299808/1 "2022-03-16T03:11:12Z")

</div>

Starting with `Kubernetes` ver `1.24` the project is removing the `dockershim` that processes docker commands as the container runtime engine.

I am running `Filebeat` and Metricbeat `7.16.2` in our clusters currently and they have a dependency on the dockershim to run.

I have not been able to find information regarding migrating the beats daemon sets away from docker.

Overview of the issue

> **[Check whether Dockershim deprecation affects you](https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-deprecation-affects-you/)**
>
> The dockershim component of Kubernetes allows to use Docker as a Kubernetes's container runtime. Kubernetes' built-in dockershim component was deprecated in release v1.20.
> This page explains how your cluster could be using Docker as a container...

Determine if your pod is using the dockershim

> **[Migrating telemetry and security agents from dockershim](https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/migrating-telemetry-and-security-agents/)**
>
> Kubernetes' support for direct integration with Docker Engine is deprecated, and will be removed. Most apps do not have a direct dependency on runtime hosting containers. However, there are still a lot of telemetry and monitoring agents that has a...

Google Doc tracking verndors provided migration paths

> **[Deprecating Docker integration in kubernetes: migrating telemetry and security...](https://docs.google.com/document/d/1ZFi4uKit63ga5sxEiZblfb-c23lFhvy6RXVPikS8wf0/edit#)**
>
> Deprecating Docker integration in kubernetes: migrating telemetry and security agents Docker is being deprecated. You can find a deprecation FAQ at Don't Panic: Kubernetes and Docker. Most apps do not have a direct dependency on runtime hosting...

Please advise and much thanks!

---

<div class="post-metadata">

### Author: ![pooch](https://avatars.discourse-cdn.com/v4/letter/p/dbc845/32.png) [@pooch](https://discuss.elastic.co/u/pooch)
#### Post date: [March 21, 2022, 5:35pm UTC](https://discuss.elastic.co/t/dockershim-is-being-deprecated-in-k8s-1-24/299808/2 "2022-03-21T17:35:44Z")

</div>

Bumping this as is seems to be a breaking change.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 18, 2022, 7:36pm UTC](https://discuss.elastic.co/t/dockershim-is-being-deprecated-in-k8s-1-24/299808/3 "2022-04-18T19:36:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
