Skip to content

Network modes: bridge, none and host

Select an icon to see what it is.

Step 5 of 6

The process binds host ports directly

nginx in host mode listens on port 80 of the host itself. There is no mapping step and no extra hop. But a second program on the host that wants port 80 will fail to bind.

ss -ltn on the host

LISTEN 0.0.0.0:80 (nginx, no docker-proxy and no NAT rule)