August 2018
Intermediate to advanced
352 pages
12h 30m
English
When a container is launched with -p <host port>:<container port>, the Docker Engine configures the iptables destination NAT rule. This destination NAT rule is responsible for forwarding all the packets it receives on the Docker host port to the container's port:

Noticeably, the Docker Engine has inserted a destination NAT rule with the following configurations:
Read now
Unlock full access