Long time no post, but this one is important. Or it was to me, at least.
Not long ago I upgraded Docker on my OpenSUSE Tumbleweed system. I can't tell for sure what version I was upgrading from and to, but right now I'm on version 1.12.5
. Shouldn't be far back :-)
So, whenever I was trying to boot an existing container, I was getting something similar to:
Error response from daemon: Unknown runtime specified oci
Error: failed to start containers: es20
My solution to this was to follow these steps:
- Find the ID of the troublesome container:
docker ps -a
- Find its directory in
/var/lib/docker/containers/<ID>/
- In there, look for
hostconfig.json
and remove theoci
value of theRuntime
property. - Restart the docker process
sudo systemctl restart docker
(if you have systemd)
Not going to enter the details I was a bit forced to go through until I reached this easy fix. Just do that and boot happily ever after!
http://umbra.xyz/fix-docker-unknown-runtime-specified-oci-error/