nginx-proxy: /tmp/docker.sock: no such file or directory
Hello all,
I’m using docker on my Synology DS1513+, but sadly, mounting of the docker socket does not seem to be working on my system.
I appended a screenshot of my docker-run-configuration. Nothing special there, except, I use 81 as external port, but that should not make any difference, should it?
Via SSH I checked, if /var/run/docker.sock exists, and it does. But the log seems to tell a different story. Maybe some missing permissions to mount this file?
Thank you very much for your support!
2015-05-14 12:27:06,stdout, [0m [0;33;1mdockergen.1 | [0;31;1m2015/05/14 10:27:06 Unable to ping docker daemon: dial unix /tmp/docker.sock: no such file or directory
2015-05-14 12:26:56,stdout, [0m [0;33;1mdockergen.1 | [0;31;1m2015/05/14 10:26:56 Unable to ping docker daemon: dial unix /tmp/docker.sock: no such file or directory
2015-05-14 12:26:56,stdout, [0;33;1mdockergen.1 | [0;31;1m2015/05/14 10:26:56 error listing containers: dial unix /tmp/docker.sock: no such file or directory
2015-05-14 12:26:56,stdout, [0;37;1mforego | [0mstarting dockergen.1 on port 5100
2015-05-14 12:26:56,stdout, [0;37;1mforego | [0mstarting nginx.1 on port 5000

About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 17 (5 by maintainers)
@dionysiusmarquis Thanks for getting back.
I’ve created the symlink (
ln -s /var/run/docker.sock /volume1/docker/docker.sock). Verified it was there by running the command again: (ln: failed to create symbolic link ‘/volume1/docker/docker.sock’: File exists).But when I run the docker command i get
docker: Error response from daemon: stat /docker/docker.sock: no such file or directory.Im running all this in sudo. Im not sure how I could avoid using /volume1/ in the volume mount argument.
Update: I used /volume1/docker/docker.sock. It’s working great. Thank You!
I can’t get over this on docker cloud.
I have mounted both ways because it’s not clear. What am I missing?