Skip to content
M-DCA
Networking
medium
Question 4 of 30

An engineer starts a container with --network host and also adds -p 8080:8080. What should they expect?

ADocker publishes port 8080 twice for higher availability
BThe publish flag is ignored because the container shares the host network namespace
CDocker automatically converts the container to a bridge network
DThe command fails because host networking is only valid in swarm services

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion