Publishing a port is not listening on it
What -p actually installs, the three questions to ask inside-out when a published port does not answer, and why another host reaches your server and never your container.
22 minutesTechnical content last reviewed on 17 Sept 2026
This lesson is for signed-in learners
Create an account to subscribe and record your learning progress.
What this lesson builds
- Running an application in containers without losing its data
- Knowing what the machine exposes, and closing the rest
