# Changing the engine from Docker to containerd in kubeadm cluster

**URL:** <https://discuss.kubernetes.io/t/changing-the-engine-from-docker-to-containerd-in-kubeadm-cluster/26720>\
**Category:** General Discussions\
**Created:** [January 13, 2024, 9:25pm UTC](https://discuss.kubernetes.io/t/changing-the-engine-from-docker-to-containerd-in-kubeadm-cluster/26720 "2024-01-13T21:25:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammad\_Majdalawi](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/mohammad_majdalawi/32/12815_2.png) [@Mohammad\_Majdalawi](https://discuss.kubernetes.io/u/Mohammad_Majdalawi)\
**Post date:** [January 13, 2024, 9:25pm UTC](https://discuss.kubernetes.io/t/changing-the-engine-from-docker-to-containerd-in-kubeadm-cluster/26720/1 "2024-01-13T21:25:09Z")

</div>

Asking for help? Comment out what you need so we can get more information to help you!

### Cluster information:

Kubernetes version: 1.23  
Cloud being used: bare-metal  
Installation method: kubeadm  
Host OS: centos7  
CNI and version: N/A  
CRI and version: N/A

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

---

<div class="post-metadata">

**Author:** ![Mohammad\_Majdalawi](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/mohammad_majdalawi/32/12815_2.png) [@Mohammad\_Majdalawi](https://discuss.kubernetes.io/u/Mohammad_Majdalawi)\
**Post date:** [January 13, 2024, 9:26pm UTC](https://discuss.kubernetes.io/t/changing-the-engine-from-docker-to-containerd-in-kubeadm-cluster/26720/2 "2024-01-13T21:26:32Z")

</div>

Hello All,

Can anyone provide a reference to follow for switching docker to containerd, I did follow the official kubernetes documentation but with no luck.

Thank you

---

<div class="post-metadata">

**Author:** ![fox-md](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/fox-md/32/10613_2.png) [@fox-md](https://discuss.kubernetes.io/u/fox-md)\
**Post date:** [January 15, 2024, 7:17pm UTC](https://discuss.kubernetes.io/t/changing-the-engine-from-docker-to-containerd-in-kubeadm-cluster/26720/3 "2024-01-15T19:17:18Z")

</div>

Hi,  
Try to configure containerd as per guide [Container Runtimes | Kubernetes](https://kubernetes.io/docs/setup/production-environment/container-runtimes/#containerd).  
Once that is done, reconfigure kubelet configuration [kubelet | Kubernetes](https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/) to send requests directly to containerd.
