This website collects cookies to deliver better user experience
Docker fails with OCI runtime create failed
Docker fails with OCI runtime create failed
The Problem
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "/hello": stat /hello: no such file or directory: unknown.
if you try the simples possible image and get this error you have found the information to solve your problem.
docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
b8dfde127a29: Pull complete
Digest: sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c
Status: Downloaded newer image for hello-world:latest
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "/hello": stat /hello: no such file or directory: unknown.
Solution
open /etc/systemd/system/docker.service in your editor and remove MountFlags=slave from the file: