When I read the k8s source code, I found that both dockerService located in pkg/kubelet/dockershim/docker_service.go and DockerServer located in pkg/kubelet/dockershim/remote/docker_server.go seem to implement the interface of the CRI shim server.
But I don't understand the difference between the two, why do I need to distinguish between the two?
k8s version is tag 1.23.1
BTW, are you sure you will use in the future? From the latest (5 days ago) news: Kubernetes is Moving on From Dockershim: Commitments and Next Steps: