DCA Exam QuestionsBrowse all questions from this exam

DCA Exam - Question 40


You want to create a container that is reachable from its host’s network.

Does this action accomplish this?

Use either EXPOSE or --publish to access the container on the bridge network.

Show Answer
Correct Answer:

Discussion

1 comment
Sign in to comment
bes_iOption: B
Aug 11, 2024

No, using EXPOSE alone will not make the container reachable from the host’s network. Yes, using --publish (or -p) will accomplish this.