Docker, where does the firewall go? -


i'm new docker , trying understand when build system, host system need configuration users, ssh, firewall, fail2ban, etc.

or go docker containers?

you need protect host, since can access host can access containers. docker utilizes iptables , pre-configures firewall rules each container spins allow outbound traffic block new inbound traffic. opening inbound traffic done exposing port on host (docker run -p ...).


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -