Home / Report Question

Q. What is the use of the EXPOSE instruction in a Dockerfile?
  • A. To run a service
  • B. To open a port on the host
  • C. To document which port the container listens on
  • D. To expose a volume