HiveBrain v1.2.0
Get Started
← Back to all entries
patterndockerMinor

Who redirect ports on Windows to access http container?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
portscontainerwhohttpredirectwindowsaccess

Problem

When we use Linux, Docker can create a rule using iptables to do a port redirection to connect in the http of a container.

When we use Windows, how does this work?

Solution

it uses the Hyper-V Virtual Switch (https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/container-networking)

Context

StackExchange DevOps Q#1255, answer score: 3

Revisions (0)

No revisions yet.