Hi guys, good morning :)recently I am working on the k8s/kubeadm, there is a pre-flight check with crictl
to check if there’s container daemon is running, in my environment I only use docker as the container engine, so I use below command to startup the cluster:
#kubeadm init --cri-socket “/var/run/docker.sock”
But seems the crictl
send a POST
to the “/var/run/docker.sock” socket to check if docker daemon is running, unfortunately the crictl
can’t get a valid response so it’s unable to check if the container runtime is OK:
[ERROR CRI]: unable to check if the container run time at “/var/run/docker.sock” is running: exit status 1
So the question here is, is there some standard way (compatible with OCI) to check if the docker container run time is ready?