Docker Networking

Docker bridge NAT

Address translation for the usual bridge gateway model. Published destination mappings and outbound source translation are distinct from filtering and authentication. Routed mode has different behavior. Treat IPv4 and IPv6 exposure as separate evidence.

Formal Syntax & Structure

docker syntaxdocker
Docker bridge NAT

Working Example

Example Snippetdocker
Synthetic NAT mapping (not a command):host 127.0.0.1:18080/tcp -> container 10.77.15.10:8080/tcplistener A: 0.0.0.0:8080 inside containerlistener B: 127.0.0.1:8080 inside container
Docker Reference