【发布时间】:2023-02-23 14:44:28
【问题描述】:
在启动 docker 时,我不小心删除了其中的 containterd.sock 文件。 /var/run/docker/containerd/containerd.sock
我完全卸载了 docker 并使用 pacman 重新安装了它
sudo pacman -S docker
然后我启用了docker
但是我好像还是有问题 跑步时
sudo dockerd
这是错误跟踪
error logs WARN[2023-02-23T00:03:36.169211858-06:00] [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {
"Addr": "/var/run/docker/containerd/containerd.sock",
"ServerName": "localhost",
"Attributes": {},
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}. Err: connection error: desc = "transport: error while dialing: dial unix:///var/run/docker/containerd/containerd.sock: timeout" module=grpc
INFO[2023-02-23T00:03:36.169298390-06:00] [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to TRANSIENT_FAILURE module=grpc
INFO[2023-02-23T00:03:36.169350352-06:00] [core] [Channel #1] Channel Connectivity change to TRANSIENT_FAILURE module=grpc
failed to start containerd: timeout waiting for containerd to start
【问题讨论】: