[英]dockerd vs docker-containerd vs docker-runc vs docker-containerd-ctr vs docker-containerd-shim
[英]“docker-containerd-shim”: executable file not found in $PATH: unknown
Docker无法再启动容器,因为在$ PATH中找不到docker-containerd-shim可执行文件。
问题是在机器上的任何地方都找不到docker-containerd-shim可执行文件,而另一个可执行文件的名称几乎相同:/ usr / bin目录下的“containerd-shim”。
我重新启动了服务,一切恢复正常。 创建符号链接“docker-containerd-shim”--->“container-shim”是否可以解决问题?
Docker版本:18.09.7操作系统:Ubuntu 16.04 LTS
我们在Jenkins管道中遇到了类似的错误。 重新安装具有稳定通道的docker固定它。
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
( https://docs.docker.com/install/linux/docker-ce/ubuntu/ )
所以我们假设这是一个夜间/测试构建问题。 (不记得我们之前有过哪个频道)
我在Google Compute Engine上发生了这种情况。 VM运行gitlab-runner
用于CI目的。
看起来像是这个图像启用了nigly升级, ubuntu-1804-bionic-v20180723
导致了重启,导致了这种不当行为。
[...]
Jul 9 06:30:59 gitlab-runner systemd[1]: Starting Daily apt upgrade and clean activities...
Jul 9 06:31:22 gitlab-runner systemd[1]: Reloading.
Jul 9 06:31:23 gitlab-runner systemd[1]: Stopping LSB: automatic crash report generation...
Jul 9 06:31:23 gitlab-runner apport[21840]: * Stopping automatic crash report generation: apport
Jul 9 06:31:23 gitlab-runner apport[21840]: ...done.
Jul 9 06:31:23 gitlab-runner systemd[1]: Stopped LSB: automatic crash report generation.
Jul 9 06:31:23 gitlab-runner systemd[1]: Reloading.
Jul 9 06:31:24 gitlab-runner systemd[1]: message repeated 5 times: [ Reloading.]
Jul 9 06:31:25 gitlab-runner systemd[1]: Starting LSB: automatic crash report generation...
Jul 9 06:31:25 gitlab-runner apport[22110]: * Starting automatic crash report generation: apport
Jul 9 06:31:25 gitlab-runner apport[22110]: ...done.
Jul 9 06:31:25 gitlab-runner systemd[1]: Started LSB: automatic crash report generation.
Jul 9 06:31:32 gitlab-runner systemd[1]: Reloading.
Jul 9 06:31:33 gitlab-runner systemd[1]: docker.service: Current command vanished from the unit file, execution of the command list won't be resumed.
Jul 9 06:31:36 gitlab-runner systemd[1]: Reloading.
Jul 9 06:31:36 gitlab-runner systemd[1]: Reloading.
Jul 9 06:31:36 gitlab-runner systemd[1]: Starting containerd container runtime...
Jul 9 06:31:36 gitlab-runner systemd[1]: Started containerd container runtime.
Jul 9 06:31:36 gitlab-runner systemd[1]: Reloading.
[...]
确实,重启修复了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.