Docker Community Forums

Share and learn in the Docker community.

Network nat is ambiguous


(Bartplasmeijer) #1

Hi;

I’m running docker on windows, edge Version 18.05.0-ce-rc1-win63 (17439)

I try to run the following command;

docker run --rm --platform linux busybox echo hello

  • Error response from daemon: network nat is ambiguous (2 matches found on name).

docker network ls

NETWORK ID NAME DRIVER SCOPE
59c96e80392b nat nat local
7843081d29a7 nat nat local
944aaff51fad none null local

I have two nat network interfaces installed as you can see.

Looking at https://github.com/Microsoft/DockerTools/issues/89 more people have the same issue.
I did already reinstalled docker for windows and did try multi thing to fix the problem.

Any pro tips?

Thanks
Bart


(Jasonfqyang) #2

In Windows, you can try to use “Hyper-V” manager to list all the virtual switches, and for docker, the default one is “DockerNAT”, so you can remove one of them if there’re two.

Hope this can help you.