fix: update Docker socket volume to read-only for security

This commit is contained in:
Wikid82
2025-11-20 22:37:46 -05:00
parent 3ec2e47d78
commit 9059760164
+1 -1
View File
@@ -14,6 +14,6 @@ services:
- "2375:2375"
volumes:
# Give the proxy access to the host's Docker socket
- /var/run/docker.sock:/var/run/docker.sock
- /var/run/docker.sock:/var/run/docker.sock:ro
# Forward TCP traffic from port 2375 to the internal Docker socket
command: tcp-listen:2375,fork,reuseaddr unix-connect:/var/run/docker.sock