In the previous section, we learned how to prepare our infrastructure for containers and how to deploy Windows Containers and Hyper-V containers. This section will cover managing Windows and Hyper-V containers.
Managing Windows Containers
Container networking
Networking is an important part of implementing containers. Containers on a Windows server, as we mentioned earlier, have a similar function to virtual machines. Each container needs to have a network adapter that needs to be connected to the Hyper-V virtual switch. There are five different virtual switches that can be created through Docker:
- NAT: The default network, named NAT, which is created by Docker Engine when it first starts up.
- Overlay: The network driver creates...