Windows contianer : how to talk to other box in the same network with computer name

@star00docker I’m not sure your approach is the right now. Here’s what works for me:

docker run --name server1 --network=nat -d microsoft/windowsservercore powershell /c sleep 3600
<id>
docker run --network=nat -ti microsoft/windowsservercore powershell
<wait for prompt in container>
ping server1

Pinging server1 [172.30.39.47] with 32 bytes of data:
Reply from 172.30.39.47: bytes=32 time<1ms TTL=128
Reply from 172.30.39.47: bytes=32 time<1ms TTL=128

There’s still some funkiness with DNS on Windows, see this workaround: https://github.com/friism/MusicStore/blob/master/Dockerfile.windows#L6

(I didn’t have to do that on my WS2016 system)