background
In Kubernetes v1.20, dockershim will be deprecated and eventually removed in next releases

The containerd CRI plugin is enabled by default and you can use containerd for Kubernetes while still allowing Docker to function.
refer

how to switch
refer1

refer2