QuestionQ68Verified/Container and Container OrchestrationCopy linkReport a problemAsk AstroTutorSave questionWhich of the following statements regarding container networking are true?Choose twoAWhen a container uses a bridge network, the container network interface and the corresponding bridge must be in the same namespace.BYou are advised to use networking plug-ins recognized by Cloud Native Computing Foundation (CNCF) for container orchestration.CWhen a container uses a host network, the network interface of the container and that of the host must be in the same namespace.DDocker has its own networking subsystems and does not support third-party networking plug-ins.Show AnswerAnswerExplanationA container using host networking shares the host’s network namespace. Container orchestration platforms such as Kubernetes require a compatible Container Network Interface (CNI) plugin to implement the network model; CNI is a CNCF project. A bridge-network container interface and the bridge-side interface are separate ends of a virtual Ethernet pair in different namespaces, and Docker supports third-party network plugins.Learn moreHost network driverNetwork driversShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion