Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting error while running docker run :Error response from daemon

Getting error while running docker command. I have successfully install docker in Google Cloud VM. I have installed ubuntu 18.04 image.

After install when running docker run I am getting below error:

docker: Error response from daemon: failed to start shim: exec: "docker-containerd-shim": executable file not found in $PATH: unknown.
like image 472
Md Sirajus Salayhin Avatar asked Jan 19 '19 17:01

Md Sirajus Salayhin


1 Answers

What worked for me when I got this error:

failed to start shim: exec: "docker-containerd-shim": executable file not found in $PATH: unknown

  • sudo apt update
  • sudo apt upgrade
  • sudo reboot 0
  • sudo reboot 0 (Yes, I had to reboot twice, a *** System restart required *** message was the clue.)

Then my Docker commands worked again.

like image 200
Danny Schoemann Avatar answered Oct 03 '22 09:10

Danny Schoemann