4

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?

3

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.