Docker OCI runtime create failure

Viewed 3020

When I run "docker run -it python:3" in a Ubuntu 18.04.1 LTS server, I got the following error. What does this mean and how do I fix this?

docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:385: running prestart hook 0 caused \\\"fork/exec /usr/bin/dockerd (deleted): no such file or directory\\\"\"": unknown.
2 Answers

For those of you who might have installed using snap, this will restart all docker services:

sudo snap restart docker

Or, for just the daemon, use:

sudo snap restart docker.dockerd
Related