共计 1114 个字符,预计需要花费 3 分钟才能阅读完成。
Dec 22 14:50:27 master49 kubelet: F1222 14:50:27.123073 30898 server.go:274] failed to run Kubelet: failed to get docker version: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Dec 22 14:50:27 master49 systemd: Unit kubelet.service entered failed state.
Dec 22 14:50:27 master49 systemd: kubelet.service failed.
^C
[root@master49 ~]# docker info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Build with BuildKit (Docker Inc., v0.5.0-docker)
Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
[root@master49 ~]# service docker restart
Redirecting to /bin/systemctl restart docker.service
[root@master49 ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@master49 ~]# systemctl daemon-reload
[root@master49 ~]# service docker restart
Redirecting to /bin/systemctl restart docker.service
[root@master49 ~]# kubectl get node
NAME STATUS ROLES AGE VERSION
master49 Ready master 28h v1.18.2
master50 Ready master 28h v1.18.2
master56 Ready master 28h v1.18.2
node52 Ready <none> 28h v1.18.2
node53 Ready <none> 28h v1.18.2
我是批改过 /etc/docker/daemon.json 而后改好后呈现的问题
正文完