Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Received below error while starting docker container " Error response from daemon: OCI runtime create failed: container_linux.go:348"

I am using

$ sudo docker start <Container Id>

Below error I received

Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"-f\": executable file not found in $PATH": unknown
Error: failed to start containers: 885dccbc45d1
like image 216
Divyanshu mehta Avatar asked Mar 25 '18 04:03

Divyanshu mehta


1 Answers

I solved this by deleting the most recent docker image - it would seem that a failure in the previous image is being persisted into the next build.

Run docker images to see a list of docker images on your machine. Then run docker rmi -f <most_recent_image_ID> and try building again.

like image 152
Vito Avatar answered Oct 15 '22 19:10

Vito