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.
No, using EXPOSE alone will not make the container reachable from the host’s network.
Yes, using --publish (or -p) will accomplish this.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
bes_i
3 months, 2 weeks ago