Hacker News new | ask | show | jobs
by stop50 887 days ago
You can open the socket on an network that can only be accessed between host an vm.
1 comments

How would I do something like that? I know that docker socket is set up in /var/run/docker.socket. but how do I expose the socket to connections from the bridged network?
docker doesn't care if its a unix socket or a tcp socket. This is documented in the docs.