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.
Runc is a standardized runtime for spawning and running containers on Linux according to the OCI specification. However, it doesn't follow the image-spec specification of the OCI. There are other more high-level runtimes, like Docker and Containerd, which implement this specification on top of runc.
docker-runc is a command line client for running applications packaged according to the Open Container Initiative (OCI) format and is a compliant implementation of the Open Container Initiative specification.
runC is a CLI tool for spawning and running containers according to the OCI specification. It was released by Docker container platform in 2015 as part of spinning out plumbing components. As expressed by the announcement: runC is a lightweight, portable container runtime.
1.1 Introduction to runC runC is a container runtime based on the Linux Foundation's Runtime Specification ( runtime-spec ). runC is developed by the Open Container Initiative.
In reference to the top answer, introduce the sym link in /usr/bin to enable it in global path
sudo ln -s /usr/libexec/docker/docker-runc-current /usr/bin/docker-runc
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With