Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
stop50
· 2y ago · 0 comments
You can open the socket on an network that can only be accessed between host an vm.
Comments
[–]
kbbgl87
2y ago
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?
[–]
stop50
OP
2y ago
docker doesn't care if its a unix socket or a tcp socket. This is documented in the docs.