ipconfig–virtual ethernets and real ethernets, docker networking daemon
When you run docker on your local host, you get a NAT network for free. This comes with a private address space.
To view the details of this network, just type the powershell command –
get-containernetwork
To view the network at the host level, type ipconfig – it should show up as a virtual network that is different from the actual physical ethernet network.
To see what new types of networks can be created, type
new-containernetwork
To update the docker daemon.json file
1. invoke item (ii) from a powershell prompt – and browse to c:\program files\docker\
2. Edit the range of private IP addresses, if that’s what you want for your default NAT network.
3. Edit to bridge = none – to use a Transparent network (instead of the default NAT network)
Leave a Reply