Docker Community Forums

Share and learn in the Docker community.

Can not talk outside of container

Hello,

Using latest 1.13.0-rc3 and chose “reset to defaults”. Created new container based off microsoft/iis and can not talk outside of container. Can ping gateway and that’s it.

Name                             : Hcf8a4261-9e33-44c6-b560-f04b60f552ef
ExternalIPInterfaceAddressPrefix : 
InternalIPInterfaceAddressPrefix : 172.24.64.1/20
IcmpQueryTimeout                 : 30
TcpEstablishedConnectionTimeout  : 1800
TcpTransientConnectionTimeout    : 120
TcpFilteringBehavior             : AddressDependentFiltering
UdpFilteringBehavior             : AddressDependentFiltering
UdpIdleSessionTimeout            : 120
UdpInboundRefresh                : False
Store                            : Local
Active                           : True





PS C:\> Invoke-WebRequest http://216.58.194.164 -Verbose
VERBOSE: GET http://216.58.194.164/ with 0-byte payload
Invoke-WebRequest : Unable to connect to the remote server
At line:1 char:1
+ Invoke-WebRequest http://216.58.194.164 -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand


[
    {
        "Name": "nat",
        "Id": "b6700ee17e812a09d310030f308cd11b4a370d5ca745d73959773f5f429976a3",
        "Created": "2016-12-08T11:17:14.3104835-06:00",
        "Scope": "local",
        "Driver": "nat",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "windows",
            "Options": null,
            "Config": [
                {
                    "Subnet": "0.0.0.0/0",
                    "Gateway": "0.0.0.0"
                }
            ]
        },
        "Internal": false,
        "Attachable": false,
        "Containers": {
            "8b8ab14f5a11095e37ca9668c7b43a0947c3fb6dcc21dc6483d2a73e09883c40": {
                "Name": "pedantic_edison",
                "EndpointID": "4be642833950b1001effd87eea482c93a5c99e09554010e04ed5bf49986c2d46",
                "MacAddress": "00:15:5d:5a:54:13",
                "IPv4Address": "172.24.75.196/16",
                "IPv6Address": ""
            }
        },
        "Options": {
            "com.docker.network.windowsshim.hnsid": "cf8a4261-9e33-44c6-b560-f04b60f552ef",
            "com.docker.network.windowsshim.networkname": "nat"
        },
        "Labels": {}
    }
]

Mcafee firewall on container host was blocking it if anybody will have the same issue

Has this ever being resolved with any kind of work around. My corporate network has Mcafee ENS which i cant disable. McAfee says windows container are not yet supported. see the KB article

https://kc.mcafee.com/corporate/index?page=content&id=KB90041

Any help from docker networking gurus would be helpful