Docker Community Forums

Share and learn in the Docker community.

How to reset docker for win default NAT IP Address?

Hi Everyone

In order to comply with the company’s anti-virus software firewall policy, we hope that the NAT network can be unified IP settings by the development of PC / NB.

I know docker network create -d nat ... can new a NAT network. We use “Visual Studio - Container Tools” can not setup --network option.

We try:

  • Try fixed-cidr in daemon.json, unsuccessful.
  • Try docker network rm nat unsuccessful. show Error response from daemon: nat is a pre-defined network and cannot be removed
  • Try #726 step, win 10 run Get-NetNat no any information, Get-ContainerNetwork | Remove-ContainerNetwork show no this commands message.

How to reset docker for win default NAT IP Address?

Information

  • Windows Version: Microsoft Windows [version 10.0.17134.829]
  • Docker Desktop Version: 2.0.0.3