Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 8 · Networking · Port 8.4

Docker networking

Ask the Captain
Instagram
From the host: works. From your laptop: nothing. Why?
You'll learn to

explain none / host / bridge and port mapping

Recap

  1. 1Networks: none, host, bridge (default)
  2. 2docker0 bridge + a veth pair per container
  3. 3-p 8080:80 = iptables DNAT from the host
Check yourself

nginx runs with -p 8080:80. Which port do you call on the host?

8.4

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.