A community-radio playlist service lists port 8080 in the Dockerfile, yet the host still cannot reach the listener. What does EXPOSE actually do versus what still must be configured at run time?
Select an answer to reveal the explanation.
Short Explanation
EXPOSE is like writing “hearing room on the second floor” on a building blueprint. It tells people where to look, but you still have to unlock the door at run time with a port or ingress mapping on ACI, Container Apps, or App Service.
Full Explanation
The EXPOSE instruction records metadata about which port the process intends to listen on. It does not open network access by itself. Azure Container Instances, Azure Container Apps, and App Service each require an explicit port, ingress, or site binding so traffic reaches the container. ACR stores images and never exposes application endpoints.