From the course: Docker for Windows

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configuring container networking

Configuring container networking - Docker Tutorial

From the course: Docker for Windows

Start my 1-month free trial

Configuring container networking

- When you run a container in Windows, its networking is isolated from that of the host, unless you configure networking between the two. This is done typically with a network address translation specifying the host port that's being mapped to the port inside the container. I want to point you to the Windows Container Networking documentation, because Docker container networking can get very, very complex. But this documentation covers exactly how it works. It talks about how Windows Hyper-V networking is used to map the container ports through the Hyper-V virtual switch to the host ports. It also covers the multiple different container networking drivers that you can choose from: network address translation, transparent, overlay, l2bridge, l2tunnel, and another one which is called "none", which isn't actually listed here. It compares and contrasts all the different networking options, as well as network isolation, how it works, and network security. If we go to the command line, I…

Contents