记一次失败的docker排障经历
docker重启发现出现如下信息:
time="2020-02-27T22:22:23.175963637+08:00" level=info msg="libcontainerd: new containerd process, pid: 24984" time="2020-02-27T22:22:23.187503177+08:00" level=fatal msg=EOF time="2020-02-27T22:22:37.663412550+08:00" level=info msg="libcontainerd: new containerd process, pid: 32256" time="2020-02-27T22:22:37.674366223+08:00" level=fatal msg=EOF
表明docker在不断的重启容器,但是启动失败,应该是容器信息损坏了,删掉/var/run/docker/libcontainerd/containerd/xxxx,对应的信息,然后再试着重启,就可以解决了.
编程是一种快乐,享受代码带给我的乐趣!!!