docker-runc not installed on system

NabilG picture NabilG · Mar 13, 2017 · Viewed 23.2k times · Source

I recently updated my Centos 7 based machine. And since, i fail to start any of my dockers. Does someone have some experience with this issue and if yes how did you fix it ? Thanks for your valuable help. Below the error log

docker run -it centos6_labs_ompi161_devtools3 /usr/bin/docker-current: Error response from daemon: shim error: docker-runc not installed on system.

Answer

NabilG picture NabilG · Mar 14, 2017

It seems that the docker rpm misses some symbolic link in the end. As it was pointed to me, this issue was raised on:

https://access.redhat.com/solutions/2876431

and this can be easily fixed by:

cd /usr/libexec/docker/
sudo ln -s docker-runc-current docker-runc