3 ms·
> 1. `docker run -p 0.0.0.0:6666:6666 ...` - docker will update the firewall to allow traffic to port 6666 I don't think Docker should touch the firewall whats
by aorth 5y ago
> 1. `docker run -p 0.0.0.0:6666:6666 ...` - docker will update the firewall to allow traffic to port 6666
I don't think Docker should touch the firewall whatsoever. Apache doesn't, nginx doesn't, PostgreSQL doesn't, etc. Why is Docker different? The sysadmin should decide that!
- maple3142 5y agoMaybe it is more convenient to developer so that they don't have to touch the firewall? Docker is not only used by sysadmin.
- Liquid_Fire 5y agoWhy not add a --open-firewall-ports option and let the user decide? Maybe print a warning without that option if the port is not open if you really want to make it easy.
- aorth 5y agoHaha yes of course it's easier for developers, but they write the software that I have to deploy and manage on my server!