Skip to content

Commit

Permalink
Bind docker-socket-proxy to 127.0.0.1 for increased security. resolve S…
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbalazskiss committed Oct 4, 2020
1 parent e4c034e commit e12ec24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose-t2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ services:
ipv4_address: 192.168.91.254 # You can specify a static IP
privileged: true
ports:
- "2375:2375"
- "127.0.0.1:2375:2375" # Port 2375 should only ever get exposed to the internal network.
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
Expand Down

0 comments on commit e12ec24

Please sign in to comment.