I am on windows 2019 server machine. I am running centos docker on it .
Is there anyway to achieve results same as --network host on windows ; On Linux --network host ensures
- All port mapped from host to container
- the container IP address is same as host .
Unfortunately --network host is available only on Linux and I don't know when will windows give it but I need some workaround
For 1 I have resorted to doing -p 3000:3000 for all the ports which were required but I am unable to give same IP to the container and that is blocker for me .