Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
Understand the default networking used with containers.
December 7, 2016
Q. What type of network is enabled by default when containers is installed?
A. The default networking is NAT which can be seen by running the following Docker commands:
docker network ls
docker network inspect nat
The use of NAT enables the container to access the external network and also publish services through the container hosts IP (-p :). An internal Hyper-V switch is automatically created on the host to enable the NAT connectivity.
You May Also Like