Error response from daemon: OCI runtime create failed

Refer to StackOverflow:
docker: Error response from daemon: OCI runtime create failed: unable to retrieve OCI runtime error

To check the issue by run docker in the debug mode.

1: stop docker with systemctl stop docker
2: run docker in debug mode dockerd --debug
3: start container with docker start container_name

Then check the output in docker debug console in 2.

In my case, it shows

ERRO[2020-07-07T23:15:02Z] stream copy error: reading from a closed fifo
ERRO[2020-07-07T23:15:02Z] stream copy error: reading from a closed fifo

And solve it by remove the container state folder with rm -rf /var/run/docker/runtime-runc/moby/docker_id

Then start your container.

Refer to: Solving Error response from daemon OCI runtime create failed container with id exists

你可能感兴趣的:(linux,docker)