QuestionQ220
Application Deployment and SecurityRefer to the exhibit.

What function does the EXPOSE line perform when an image is built from this Dockerfile?
- A Local port 8080 of the container that launched with this docker image is accessible from co-hosted containers and external clients.
- B Local port 8080 is not reachable at all because no IP address is specified along with the EXPOSE command of the Dockerfile.
- C Local port 8080 is accessible from other containers running on the same docker host as the container that launched with this docker image.
- D Local port 8080 of the container that launched with this docker image is accessible to external clients.
Community Discussion