If you are using Docker EE and running Linux containers using LCOW way then you need to create a network using the NAT driver.
The Bridge Driver is only available on Linux machine so whenever we use Docker CE (Docker for Windows) and run windows container, Bridge will not work but if we use Linux container Bridge will work smooth and the user will face no issues. Though it's also important to understand that Bridge Driver does not work for Linux containers when we go LCOW way as LCOW internally uses Windows Kernel and Windows kernel has no support for Bridge Driver.
It's important to remember that Docker has made Bridge as the default Network Driver so its the responsibility of the person running the container to make a judicious decision about which driver to choose.
Please use the command mentioned below to resolve the error
docker network create --driver nat NetworkName