by Sebb767 · 6y ago · 0 comments
A docker container can have internal ports exposed explicitly, or use host networking. In any case these are ports exposed by the docker-proxy executable - an executable like any other on the system.
Then come the iptables rules of the system (which open or not data flow to the ports exposed by docker-proxy).
Or is it different?
ACCEPT tcp -- anywhere 172.19.0.10 tcp dpt:8843
are created by docker, independently from the configuration of iptables themselves.