Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"docker-containerd-shim": executable file not found in $PATH: unknown

Docker is not able to start containers anymore because docker-containerd-shim executable was no found in $PATH.

The thing is that docker-containerd-shim executable is not found anywhere on the machine while there is another executable with almost the same name: "containerd-shim" under /usr/bin directory.

I restarted the service and everything is back to normal. Does creating symbolic link "docker-containerd-shim" ---> "container-shim" could solve the problem?

Docker version: 18.09.7 OS: Ubuntu 16.04 LTS

like image 438
Tayeb Ben Achour Avatar asked Jul 09 '19 09:07

Tayeb Ben Achour


Video Answer


1 Answers

We had a similar error in our Jenkins pipeline. Reinstalling docker with a stable channel fixed it.

$ 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/)

So we assume it's a nightly / test build problem. (don't remember which channel we had before)

like image 146
Tjen Wellens Avatar answered Sep 17 '22 09:09

Tjen Wellens