Hi, I have docker running on Centos 7. I needed to access it remotely so I stopped the daemon, added
docker.service.d directory to /etc/systemd/system/
created docker.conf and inserted the following 3 lines
[Service]
ExecStart=
ExecStart=/bin/dockerd -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock
I reloaded the daemon then restarted “docker.service”, issuing the command “docker version” executes correctly and I can see the client and server version (hereunder). However, running any other commands generates an error as:
Error response from daemon: Unknown runtime specified docker-runc
Error: failed to start containers: 755
Or
salam@pemaster docker.service.d]$ docker start 8f2
Error response from daemon: shim error: docker-runc not installed on system
Error: failed to start containers: 8f2
So what is going wrong with this. Of course in order to be able to continue working, I deleted the “docker.service.d” and the docker.conf file to be able to run other containers
My docker version is
Client:
Version: 1.12.6
API version: 1.24
Package version: docker-1.12.6-68.gitec8512b.el7.centos.x86_64
Go version: go1.8.3
Git commit: ec8512b/1.12.6
Built: Mon Dec 11 16:08:42 2017
OS/Arch: linux/amd64
Server:
Version: 1.12.6
API version: 1.24
Package version: docker-1.12.6-68.gitec8512b.el7.centos.x86_64
Go version: go1.8.3
Git commit: ec8512b/1.12.6
Built: Mon Dec 11 16:08:42 2017
OS/Arch: linux/amd64