TLP
AI settings
Modules
0
/ 0
Containerized Solutions
137 questions
Question
1
of 137
1%
Dockerfile Elements
intermediate
multiple choice
A Dockerfile includes `EXPOSE 8080`, but the container is not reachable from the host after `docker run` without port flags. What does `EXPOSE` actually do?
A
Publishes the port to the host network automatically.
B
Documents the listening port; publishing still requires a run-time mapping such as `-p`.
C
Opens the corresponding host firewall rule.
D
Binds the container port to a random host port.
Submit
Previous
Next