Docker Community Forums

Share and learn in the Docker community.

Where is the file docker.sock?

docker

(Brunolm) #1

Expected behavior

I want to access the file docker.sock

Actual behavior

I can’t find docker.sock

Information

I want to run nginx reverse proxy for Docker. It needs a volume to this file, so I want to point to the right dir.

Where can I find this file? How can I run this reverse proxy?


(Dremor) #2

Docker for windows do not support Unix socket (only tcp and npipe).

More info:
This commit : https://github.com/docker/docker/commit/0906195fbbd6f379c163b80f23e4c5a60bcfc5f0
This article : http://home.iae.nl/users/mhx/pipes&socks.html


(Malikoth) #3

Have you tried mount-binding the volume to /var/run/docker.sock? See my previous post here: [solved] Using docker inside another container