πŸ“Š Docker
Q. What does the `EXPOSE` instruction do in a Dockerfile?
  • (A) Opens a file
  • (B) Publishes a container to a repository
  • (C) Informs Docker that the container listens on a port
  • (D) Starts a process
πŸ’¬ Discuss
βœ… Correct Answer: (C) Informs Docker that the container listens on a port

Explanation: `EXPOSE` documents which ports are intended to be published.

Explanation by: Mr. Dubey
`EXPOSE` documents which ports are intended to be published.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
34
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate