Which of the following objects of the container network model (CNM) contains the configuration files of a container's network stack, such as routing table, container's interfaces, and DNS settings?
Correct Answer: B
The object of the container network model (CNM) that contains the configuration files of a container's network stack, such as routing table, container's interfaces, and DNSsettings, is the Sandbox. A Sandbox is a logical entity that encapsulates the network configuration and state of a container. A Sandbox can contain one or more endpoints from different networks, and provides isolation and security for the container's network stack. A Sandbox can be implemented using various technologies, such as Linux network namespaces, FreeBSD jails, or Windows compartments.A Sandbox allows the container to have its own view and control of the network resources, such as interfaces, addresses, routes, and DNS settings123.References:
* The Container Networking Model | Training, Training, 2020
* A Comprehensive Guide To Docker Networking - KnowledgeHut, KnowledgeHut, September 27, 2023
* Design - GitHub: Let's build from here, GitHub, 2020