Q. What is the purpose of the EXPOSE instruction in a Dockerfile?
β
Correct Answer: (B)
To document which ports are used by the container
Explanation: The EXPOSE instruction documents which ports are intended to be used by the container.