Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- systemctl edit docker
- [Service]
- ExecStart=
- ExecStart=/usr/bin/dockerd -H unix:///var/run/docker.sock -H tcp://192.168.2.11:2375
- systemctl restart docker
- -- Unit docker.service has finished shutting down.
- Nov 15 09:45:35 docker systemd[1]: Starting Docker Application Container Engine...
- -- Subject: Unit docker.service has begun start-up
- -- Defined-By: systemd
- -- Support: http://www.ubuntu.com/support
- --
- -- Unit docker.service has begun starting up.
- Nov 15 09:45:35 docker dockerd[27753]: Failed to load listeners: can't create unix socket /var/run/docker.sock: is a directory
- Nov 15 09:45:35 docker systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
- Nov 15 09:45:35 docker systemd[1]: docker.service: Failed with result 'exit-code'.
- Nov 15 09:45:35 docker systemd[1]: Failed to start Docker Application Container Engine.
- -- Subject: Unit docker.service has failed
- -- Defined-By: systemd
- -- Support: http://www.ubuntu.com/support
- --
- -- Unit docker.service has failed.
- --
- -- The result is RESULT.
- sudo su
- ls -la /var/run/docker.sock
- rm -fr /var/run/docker.sock
- systemctl edit docker
- ls -la /var/run/docker.sock
- srw-rw---- 1 root docker 0 Nov 15 09:47 /var/run/docker.sock
Add Comment
Please, Sign In to add comment