[ERROR CRI]: unable to check if the container runtime at "/var/run/dockershim.sock" is running: fork/exec /usr/bin/crictl -r /var/run/dockershim.sock info: no such file or directory

 

解决方法,卸载 cri-tools

apt-get remove cri-tools

如果出现如下错误,则等10分钟重试

E: Unable to acquire the dpkg frontend lock ([表情]ar[表情]b/dpkg/lock-frontend), is another process using it?

[ERROR CRI]: unable to check if the container runtime at “/var/run/dockershim.sock“_linux

 

参考https://blog.kelu.org/tech/2018/07/06/kubernetes-issue.html