Explain it in 60 seconds
Publishing container ports
Cloud & DevOps · Docker · Beginner
How do you make an application inside a container reachable from the host?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Publish with -p host:container.
- EXPOSE only documents.
- App must listen on 0.0.0.0.
- Bind to 127.0.0.1 on host to restrict.
- Compose "ports" section.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.