none
Cannot create a container with network RRS feed

  • Question

  • Hello,

    On my system, when I try to run a container I get the following error :

    PS C:\>  docker run microsoft/nanoserver ipconfig /all

    C:\Program Files\docker\docker.exe: Error response from daemon: container 7d49e58fd626aa32f9eeb6325ff42a2c95ef67c00197be6e6e567f2686969c74 encountered an error during Cre
    ateContainer: failure in a Windows system call: Paramètre incorrect. (0x57) extra info: {"SystemType":"Container","Name":"7d49e58fd626aa32f9eeb6325ff42a2c95ef67c00197be6e
    6e567f2686969c74","Owner":"docker","IsDummy":false,"VolumePath":"\\\\?\\Volume{f733f4ce-33a3-11e8-a0e4-005056be0d38}","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:
    \\ProgramData\\docker\\windowsfilter\\7d49e58fd626aa32f9eeb6325ff42a2c95ef67c00197be6e6e567f2686969c74","Layers":[{"ID":"ec4747fb-e19f-5b67-9bf6-4a00ba2c98e3","Path":"C:\
    \ProgramData\\docker\\windowsfilter\\7dfb5451005355c32145a6292149f0a475b4bbd2f526c7d2015ca276ae24f5ca"},{"ID":"96b91fb2-9579-50c6-97ff-8c1957d8a414","Path":"C:\\ProgramDa
    ta\\docker\\windowsfilter\\c8cd85cb2d1fdd06cc1d4a8c1a93cfa83babba5bb0b7cb56660d3c844251b4c5"}],"HostName":"7d49e58fd626","MappedDirectories":[],"HvPartition":false,"EndpointList":["ec5d17e2-b1f7-4680-a83e-3783d0503a15"],"Servicing":false,"AllowUnqualifiedDNSQuery":true}.

    When I deactivate network however (with the option --net none), the container is running fine.

    My system is based on a customized corporate Windows Server 2016 Standard Edition image with all the security patches, and just Docker installed.

    It is executed on a VMWare hypervisor and beside some group policies it has the OfficeScan Antivirus from Trend Micro and nothing else.

    I have checked  the docker daemon log and the error is during the creation of the container when trying to attach the network. 

    I think it might be a configuration issue on my system since I can execute container with other base Windows images and just Docker installed.

    Does anyone has encounter this kind of issue ? Is there any compatibilities issues with antivirus software  or VMWare hypervisor ?

    Please advise.

    BElow is the log of the docker daemon and the output of Debug-ContainerHost.ps1:

    dockerd log:

    time="2018-03-30T14:32:52.661650500+02:00" level=debug msg="libcontainerd: client.Create() with spec {1.0.0-rc5 {windows amd64} {false {70 192} {0 0 [] } [ip
    config /all] [] C:\\ <nil> [] false  } {\\\\?\\Volume{f733f4ce-33a3-11e8-a0e4-005056be0d38} false} eecc57411caa [] <nil> map[] <nil> <nil> 0xc042005190}"
    time="2018-03-30T14:32:52.661650500+02:00" level=debug msg="hcsshim::NameToGuid Name 7dfb5451005355c32145a6292149f0a475b4bbd2f526c7d2015ca276ae24f5ca"
    time="2018-03-30T14:32:52.662650800+02:00" level=debug msg="hcsshim::NameToGuid Name c8cd85cb2d1fdd06cc1d4a8c1a93cfa83babba5bb0b7cb56660d3c844251b4c5"
    time="2018-03-30T14:32:52.662650800+02:00" level=debug msg="HCSShim::CreateContainer id=eecc57411caa506470ba45504caf177d345a5abdc7ee32451f8522aff0895d78 conf
    ig={\"SystemType\":\"Container\",\"Name\":\"eecc57411caa506470ba45504caf177d345a5abdc7ee32451f8522aff0895d78\",\"Owner\":\"docker\",\"IsDummy\":false,\"Volum
    ePath\":\"\\\\\\\\?\\\\Volume{f733f4ce-33a3-11e8-a0e4-005056be0d38}\",\"IgnoreFlushesDuringBoot\":true,\"LayerFolderPath\":\"C:\\\\ProgramData\\\\docker\\\\w
    indowsfilter\\\\eecc57411caa506470ba45504caf177d345a5abdc7ee32451f8522aff0895d78\",\"Layers\":[{\"ID\":\"ec4747fb-e19f-5b67-9bf6-4a00ba2c98e3\",\"Path\":\"C:
    \\\\ProgramData\\\\docker\\\\windowsfilter\\\\7dfb5451005355c32145a6292149f0a475b4bbd2f526c7d2015ca276ae24f5ca\"},{\"ID\":\"96b91fb2-9579-50c6-97ff-8c1957d8a
    414\",\"Path\":\"C:\\\\ProgramData\\\\docker\\\\windowsfilter\\\\c8cd85cb2d1fdd06cc1d4a8c1a93cfa83babba5bb0b7cb56660d3c844251b4c5\"}],\"HostName\":\"eecc5741
    1caa\",\"MappedDirectories\":[],\"HvPartition\":false,\"EndpointList\":[\"97fe6eb8-db0d-489e-b964-3ca41dac921e\"],\"Servicing\":false,\"AllowUnqualifiedDNSQu
    ery\":true}"
    time="2018-03-30T14:32:53.746463300+02:00" level=debug msg="Result: {\"Error\":-2147024809,\"ErrorEvents\":[{\"Data\":[{\"Type\":\"String\",\"Value\":\"eecc5
    7411caa506470ba45504caf177d345a5abdc7ee32451f8522aff0895d78\"},{\"Type\":\"String\",\"Value\":\"%%2147942487\"},{\"Type\":\"String\",\"Value\":\"0x80070057\"
    },{\"Type\":\"Guid\",\"Value\":\"97FE6EB8-DB0D-489E-B964-3CA41DAC921E\"}],\"EventId\":12102,\"Message\":\"Échec de l’attachement du point de terminaison du r
    éseau au conteneur eecc57411caa506470ba45504caf177d345a5abdc7ee32451f8522aff0895d78, ID de point de terminaison du réseau {97FE6EB8-DB0D-489E-B964-3CA41DAC92
    1E}\u00a0: Un ou plusieurs arguments sont incorrects (0x80070057).\",\"Provider\":\"17103e3f-3c6e-4677-bb17-3b267eb5be57\"}],\"ErrorMessage\":\"Paramètre inc
    orrect.\"}"
    time="2018-03-30T14:32:53.746463300+02:00" level=error msg="Create container failed with error: container eecc57411caa506470ba45504caf177d345a5abdc7ee32451f8
    522aff0895d78 encountered an error during CreateContainer: failure in a Windows system call: Paramètre incorrect. (0x57) extra info: {\"SystemType\":\"Contai
    ner\",\"Name\":\"eecc57411caa506470ba45504caf177d345a5abdc7ee32451f8522aff0895d78\",\"Owner\":\"docker\",\"IsDummy\":false,\"VolumePath\":\"\\\\\\\\?\\\\Volu
    me{f733f4ce-33a3-11e8-a0e4-005056be0d38}\",\"IgnoreFlushesDuringBoot\":true,\"LayerFolderPath\":\"C:\\\\ProgramData\\\\docker\\\\windowsfilter\\\\eecc57411ca
    a506470ba45504caf177d345a5abdc7ee32451f8522aff0895d78\",\"Layers\":[{\"ID\":\"ec4747fb-e19f-5b67-9bf6-4a00ba2c98e3\",\"Path\":\"C:\\\\ProgramData\\\\docker\\
    \\windowsfilter\\\\7dfb5451005355c32145a6292149f0a475b4bbd2f526c7d2015ca276ae24f5ca\"},{\"ID\":\"96b91fb2-9579-50c6-97ff-8c1957d8a414\",\"Path\":\"C:\\\\Prog
    ramData\\\\docker\\\\windowsfilter\\\\c8cd85cb2d1fdd06cc1d4a8c1a93cfa83babba5bb0b7cb56660d3c844251b4c5\"}],\"HostName\":\"eecc57411caa\",\"MappedDirectories\
    ":[],\"HvPartition\":false,\"EndpointList\":[\"97fe6eb8-db0d-489e-b964-3ca41dac921e\"],\"Servicing\":false,\"AllowUnqualifiedDNSQuery\":true}"
    time="2018-03-30T14:32:53.833457700+02:00" level=debug msg="attach: stdout: end"
    time="2018-03-30T14:32:53.836456400+02:00" level=debug msg="attach: stderr: end"
    time="2018-03-30T14:32:53.848454800+02:00" level=debug msg="Revoking external connectivity on endpoint stupefied_easley (7aa57d7122a9c84b3c22e44c51409f8f816b
    73167a9b6fc15d142f2efa1d8121)"
    time="2018-03-30T14:32:53.892453900+02:00" level=debug msg="[DELETE]=>[/endpoints/97fe6eb8-db0d-489e-b964-3ca41dac921e] Request : "
    time="2018-03-30T14:32:53.932450900+02:00" level=warning msg="driver error deleting endpoint stupefied_easley : HNS failed with error : Paramètre incorrect.
    "
    time="2018-03-30T14:32:53.933452100+02:00" level=debug msg="Releasing addresses for endpoint stupefied_easley's interface on network nat"
    time="2018-03-30T14:32:53.935450500+02:00" level=debug msg="ReleaseAddress(192.168.32.0/20, 192.168.44.14)"
    time="2018-03-30T14:32:54.016453000+02:00" level=debug msg="WindowsGraphDriver Put() id eecc57411caa506470ba45504caf177d345a5abdc7ee32451f8522aff0895d78"
    time="2018-03-30T14:32:54.017446500+02:00" level=debug msg="hcsshim::UnprepareLayer flavour 1 layerId eecc57411caa506470ba45504caf177d345a5abdc7ee32451f8522aff0895d78"

    Debug-Container.ps1

    PS V:\> Invoke-WebRequest https://aka.ms/Debug-ContainerHost.ps1 -UseBasicParsing | Invoke-Expression
    Checking for common problems
    Container Host OS Product Name: Windows Server 2016 Standard
    Container Host OS Build Label: 14393.2155.amd64fre.rs1_release_1.180305-1842
    Describing Windows Version and Prerequisites
     [+] Is Windows 10 Anniversary Update or Windows Server 2016 78ms
     [+] Has KB3192366, KB3194496, or later installed if running Windows build 14393 23ms
     [+] Is not a build with blocking issues 20ms
     [+] Has 'Containers' feature installed 6.48s
    Describing Docker is installed
     [+] A Docker service is installed - 'Docker' or 'com.Docker.Service'  32ms
     [+] Service is running 20ms
     [+] Docker.exe is in path 2.08s
     [+] Docker is registered in the EventLog service 23ms
    Describing User has permissions to use Docker daemon
     [+] docker.exe should not return access denied 55ms
    Describing Windows container settings are correct
     [+] Do not have DisableVSmbOplock set to 1 24ms
     [+] Do not have zz values set 24ms
     [+] Do not have FDVDenyWriteAccess set to 1 27ms
    Describing The right container base images are installed
     [+] At least one of 'microsoft/windowsservercore' or 'microsoft/nanoserver' should be installed 86ms
    Describing Container network is created
     [+] At least one local container network is available 2.14s
     [+] At least one NAT, Transparent, or L2Bridge Network exists 23ms
     [+] NAT Network's vSwitch is internal 21ms
     [+] A Windows NAT is configured if a Docker NAT network exists 97ms
     [+] Specified Network Gateway IP for NAT network is assigned to Host vNIC 48ms
     [+] NAT Network's internal prefix does not overlap with external IP' 22ms
    Showing output from: docker info
    Containers: 4
     Running: 0
     Paused: 0
     Stopped: 4
    Images: 1
    Server Version: 17.06.2-ee-7
    Storage Driver: windowsfilter
     Windows:
    Logging Driver: json-file
    Plugins:
     Volume: local
     Network: l2bridge l2tunnel nat null overlay transparent
     Log: awslogs etwlogs fluentd json-file logentries splunk syslog
    Swarm: inactive
    Default Isolation: process
    Kernel Version: 10.0 14393 (14393.2155.amd64fre.rs1_release_1.180305-1842)
    Operating System: Windows Server 2016 Standard
    OSType: windows
    Architecture: x86_64
    CPUs: 2
    Total Memory: 4GiB
    Name: swinpexdck01
    ID: 5S6G:JOTM:QBXR:MJUB:IM65:DVXE:C7K3:ZTIZ:7ZC2:YH62:VON4:74VY
    Docker Root Dir: C:\ProgramData\docker
    Debug Mode (client): false
    Debug Mode (server): false
    Http Proxy: http://corporate.proxy/
    Https Proxy: http://corporate.proxy/
    No Proxy: localhost,127.0.0.1
    Registry: https://index.docker.io/v1/
    Experimental: false
    Insecure Registries:
     127.0.0.0/8
    Live Restore Enabled: false
    
    
    Showing output from: docker version
    Client:
     Version:       17.06.2-ee-7
     API version:   1.30
     Go version:    go1.8.7
     Git commit:    925df35
     Built: Fri Mar 16 22:29:37 2018
     OS/Arch:       windows/amd64
    
    Server:
     Engine:
      Version:      17.06.2-ee-7
      API version:  1.30 (minimum version 1.24)
      Go version:   go1.8.7
      Git commit:   925df35
      Built:        Fri Mar 16 22:39:05 2018
      OS/Arch:      windows/amd64
      Experimental: false
    
    Showing output from: docker network ls
    NETWORK ID          NAME                DRIVER              SCOPE
    8546d8e05764        nat                 nat                 local
    950f0b276c2d        none                null                local
    
    Getting Warnings & errors in the Windows event logs from the last 24 hours
    
    
       ProviderName : docker
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 13:30:55              1 Erreur           Handler for POST /v1.30/containers/7d49e58fd626aa32f9eeb6325ff42a2c95ef67c00197be6e6e567f2686969c74/start returned...
    30/03/2018 13:30:55              1 Avertissement    driver error deleting endpoint mystifying_aryabhata : HNS failed with error : Paramètre incorrect.
    30/03/2018 13:30:55              1 Erreur           Create container failed with error: container 7d49e58fd626aa32f9eeb6325ff42a2c95ef67c00197be6e6e567f2686969c74 enc...
    
    
       ProviderName : Microsoft-Windows-Hyper-V-Compute
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 13:30:54          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 7d49e58fd626aa32f9eeb6325ff42a2c95ef67c00197be...
    30/03/2018 13:30:54          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 7d49e58fd626aa32f9eeb6325ff42a2c95ef67c00197...
    
    
       ProviderName : docker
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 13:20:13              1 Erreur           Handler for POST /v1.30/containers/a4ac8fb0fe008721bc7f5c92cbbb3e68eee1b0ab6e62d1714fde39995b66d64b/start returned...
    30/03/2018 13:20:12              1 Avertissement    driver error deleting endpoint modest_northcutt : HNS failed with error : Paramètre incorrect.
    30/03/2018 13:20:12              1 Erreur           Create container failed with error: container a4ac8fb0fe008721bc7f5c92cbbb3e68eee1b0ab6e62d1714fde39995b66d64b enc...
    
    
       ProviderName : Microsoft-Windows-Hyper-V-Compute
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 13:20:12          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur a4ac8fb0fe008721bc7f5c92cbbb3e68eee1b0ab6e62d1...
    30/03/2018 13:20:12          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur a4ac8fb0fe008721bc7f5c92cbbb3e68eee1b0ab6e62...
    30/03/2018 10:43:13          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 387a5a052bd640234a866e6f7478b81055dd2f3004a3eb...
    30/03/2018 10:43:13          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 387a5a052bd640234a866e6f7478b81055dd2f3004a3...
    
    
       ProviderName : docker
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 00:57:19              1 Erreur           Handler for POST /v1.30/containers/9b5c7924385ec96f953b61be509a5d04c354241264ec4c75e0289d014a77f749/start returned...
    30/03/2018 00:57:19              1 Avertissement    driver error deleting endpoint boring_newton : HNS failed with error : Paramètre incorrect.
    30/03/2018 00:57:19              1 Erreur           Create container failed with error: container 9b5c7924385ec96f953b61be509a5d04c354241264ec4c75e0289d014a77f749 enc...
    
    
       ProviderName : Microsoft-Windows-Hyper-V-Compute
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 00:57:19          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 9b5c7924385ec96f953b61be509a5d04c354241264ec4c...
    30/03/2018 00:57:15          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 9b5c7924385ec96f953b61be509a5d04c354241264ec...
    
    
       ProviderName : docker
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 00:53:25              1 Avertissement    failed to rename C:\ProgramData\docker\tmp for background deletion: rename C:\ProgramData\docker\tmp C:\ProgramDat...
    
    
       ProviderName : Microsoft-Windows-Hyper-V-Compute
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 00:46:04          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce91...
    30/03/2018 00:46:04          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce...
    30/03/2018 00:44:05          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce91...
    30/03/2018 00:44:01          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce...
    
    
       ProviderName : docker
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 00:41:16              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    30/03/2018 00:41:15              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    30/03/2018 00:41:14              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    30/03/2018 00:41:13              1 Erreur           Resolver Setup/Start failed for container myNet, "error in opening name server socket listen udp 192.168.8.1:53: b...
    30/03/2018 00:41:12              1 Erreur           Resolver Setup/Start failed for container myNet, "error in opening name server socket listen udp 192.168.8.1:53: b...
    30/03/2018 00:41:11              1 Erreur           Resolver Setup/Start failed for container myNet, "error in opening name server socket listen udp 192.168.8.1:53: b...
    30/03/2018 00:40:02              1 Erreur           Handler for POST /v1.30/containers/kind_jepsen/start returned error: container 2b6d06ada52af9275114105b02b8e10a3a4...
    30/03/2018 00:40:02              1 Avertissement    driver error deleting endpoint kind_jepsen : HNS failed with error : Paramètre incorrect.
    30/03/2018 00:40:02              1 Erreur           Create container failed with error: container 2b6d06ada52af9275114105b02b8e10a3a4c450913ce9156256bcb103c56f466 enc...
    
    
       ProviderName : Microsoft-Windows-Hyper-V-Compute
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 00:40:01          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce91...
    30/03/2018 00:40:01          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce...
    
    
       ProviderName : docker
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 00:34:43              1 Erreur           Handler for POST /v1.30/containers/kind_jepsen/start returned error: container 2b6d06ada52af9275114105b02b8e10a3a4...
    30/03/2018 00:34:43              1 Avertissement    driver error deleting endpoint kind_jepsen : HNS failed with error : Paramètre incorrect.
    30/03/2018 00:34:43              1 Erreur           Create container failed with error: container 2b6d06ada52af9275114105b02b8e10a3a4c450913ce9156256bcb103c56f466 enc...
    
    
       ProviderName : Microsoft-Windows-Hyper-V-Compute
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 00:34:43          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce91...
    30/03/2018 00:34:43          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce...
    
    
       ProviderName : docker
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 00:34:07              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    30/03/2018 00:34:06              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    30/03/2018 00:34:05              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    30/03/2018 00:34:04              1 Erreur           Resolver Setup/Start failed for container myNet, "error in opening name server socket listen udp 192.168.8.1:53: b...
    30/03/2018 00:34:03              1 Erreur           Resolver Setup/Start failed for container myNet, "error in opening name server socket listen udp 192.168.8.1:53: b...
    30/03/2018 00:34:02              1 Erreur           Resolver Setup/Start failed for container myNet, "error in opening name server socket listen udp 192.168.8.1:53: b...
    
    
       ProviderName : Microsoft-Windows-Hyper-V-Compute
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    30/03/2018 00:33:23          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce91...
    30/03/2018 00:33:23          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce...
    30/03/2018 00:01:47          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce91...
    30/03/2018 00:01:47          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce...
    29/03/2018 23:44:18          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce91...
    29/03/2018 23:44:18          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 2b6d06ada52af9275114105b02b8e10a3a4c450913ce...
    29/03/2018 23:05:26          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 78414b4198c7d55f876bcb247ded1402ca34ff77dc4328...
    29/03/2018 23:05:26          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 78414b4198c7d55f876bcb247ded1402ca34ff77dc43...
    29/03/2018 22:55:47          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 1c207d4f4ba4063b9677fa2427af3e01071524206a5a4b...
    29/03/2018 22:55:47          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 1c207d4f4ba4063b9677fa2427af3e01071524206a5a...
    29/03/2018 22:55:32          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 11e97e458904972688b01a9b8f4ed2430a9cfb06bcc8d8...
    29/03/2018 22:55:32          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 11e97e458904972688b01a9b8f4ed2430a9cfb06bcc8...
    29/03/2018 22:45:03          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 026b09ac4a3ecc2e43da856724161d6c9b50b80fbb453b...
    29/03/2018 22:45:03          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 026b09ac4a3ecc2e43da856724161d6c9b50b80fbb45...
    29/03/2018 22:44:40          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 9927bb15c18b9935d6a0e74b70fe884f67f3a1849d67cd...
    29/03/2018 22:44:36          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 9927bb15c18b9935d6a0e74b70fe884f67f3a1849d67...
    
    
       ProviderName : docker
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    29/03/2018 22:43:16              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    29/03/2018 22:43:15              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    29/03/2018 22:43:14              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    
    
       ProviderName : Microsoft-Windows-Hyper-V-Compute
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    29/03/2018 22:42:27          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 048d6c4344487803bd58afb679ea3875b35d77cc97cf2c...
    29/03/2018 22:42:27          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 048d6c4344487803bd58afb679ea3875b35d77cc97cf...
    29/03/2018 22:40:14          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur b328b1d5b86fdf108d831008b3a6de778d066003da9b24...
    29/03/2018 22:40:09          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur b328b1d5b86fdf108d831008b3a6de778d066003da9b...
    
    
       ProviderName : docker
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    29/03/2018 22:35:11              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    29/03/2018 22:35:10              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    29/03/2018 22:35:09              1 Erreur           Resolver Setup/Start failed for container transparent, "error in opening name server socket listen udp 192.168.200...
    
    
       ProviderName : Microsoft-Windows-Hyper-V-Compute
    
    TimeCreated                     Id LevelDisplayName Message
    -----------                     -- ---------------- -------
    29/03/2018 22:34:04          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 26594b5351ef4a04954b96a40d6f523b505c4d7c970adc...
    29/03/2018 22:34:04          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 26594b5351ef4a04954b96a40d6f523b505c4d7c970a...
    29/03/2018 22:23:37          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 81447a744c18f43ada7aada7d102560316d9c3c6ca3c29...
    29/03/2018 22:23:37          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 81447a744c18f43ada7aada7d102560316d9c3c6ca3c...
    29/03/2018 22:21:56          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur f5a17d209e7afb7236b8554907b45811024e14d91b8176...
    29/03/2018 22:21:56          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur f5a17d209e7afb7236b8554907b45811024e14d91b81...
    29/03/2018 22:05:37          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 7c0626cd9be7b8097f900dd80c854d04a007a6f5244723...
    29/03/2018 22:05:37          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 7c0626cd9be7b8097f900dd80c854d04a007a6f52447...
    29/03/2018 21:56:25          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 38486d18bb7fbf514cf0f19547b74915f2ec64c4f9eee9...
    29/03/2018 21:56:25          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 38486d18bb7fbf514cf0f19547b74915f2ec64c4f9ee...
    29/03/2018 21:41:13          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur dd3c6f261eeed95a0eb138bc4b6e20369fdb0b4aedf773...
    29/03/2018 21:41:13          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur dd3c6f261eeed95a0eb138bc4b6e20369fdb0b4aedf7...
    29/03/2018 21:21:40          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 6eee8151934a6a1d6c4e71e2b7812a1e64a4c0099acd47...
    29/03/2018 21:21:40          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 6eee8151934a6a1d6c4e71e2b7812a1e64a4c0099acd...
    29/03/2018 21:17:11          12103 Erreur           Échec du détachement du point de terminaison du réseau du conteneur 09d1a45ebfd6cd47da51f1b16f23ed77316636f1ed4122...
    29/03/2018 21:17:07          12102 Erreur           Échec de l’attachement du point de terminaison du réseau au conteneur 09d1a45ebfd6cd47da51f1b16f23ed77316636f1ed41...
    
    
    Logs saved to V:\\logs_20180330-142807.csv
    
    
    Getting Docker for Windows daemon logs from the last execution
        Note: More logs may be available at C:\Users\acottais\AppData\Local\Docker. Only showing the latest 100 lines.
       C:\Users\acottais\AppData\Local\Docker\log.txt does not exist.
    PS V:\>

    Friday, March 30, 2018 12:34 PM

All replies

  • Greetings,

    Sorry, I cannot reproduce this issue by my side.

    But it looks like something went wrong here.

    time="2018-03-30T14:32:53.848454800+02:00" level=debug msg="Revoking external connectivity on endpoint stupefied_easley (7aa57d7122a9c84b3c22e44c51409f8f816b
    73167a9b6fc15d142f2efa1d8121)"
    time="2018-03-30T14:32:53.892453900+02:00" level=debug msg="[DELETE]=>[/endpoints/97fe6eb8-db0d-489e-b964-3ca41dac921e] Request : "
    time="2018-03-30T14:32:53.932450900+02:00" level=warning msg="driver error deleting endpoint stupefied_easley : HNS failed with error : Paramètre incorrect.

    Would you mind to run Get-NetNatStaticMapping in PowerShell?

    Meanwhile, hope following blog post can help you.

    https://blogs.technet.microsoft.com/virtualization/2016/05/05/windows-container-networking/

    Please also refer to the last post of this SO thread.

    https://stackoverflow.com/questions/38070837/windows-container-failed-to-start-with-error-failed-to-create-endpoint-on-netw


    After I watched the video "Richard St. John's 8 secrets of success" on TED.com, I learned this: "Being good at your job is not enough, you should be damn good at it."



    Friday, March 30, 2018 1:50 PM
  • Hello,

    Thank you for your help.

    Unfortunaltly Get-NetNatStaticMapping do not return anything.

    However sxecuting the script WindowsContainerNetworking-LoggingAndCleanupAide.ps1 with the capturetrace option and examining the precleanup logs, I have found that the HNS service reported the same error when trying to add rules in the Windows Firewall for the newly created container.

    On my system the Windows Firewall service was deactivated.

    After reenabling it the error is gone and the containers are running fine with network connectivity.


    Sunday, April 1, 2018 9:04 AM
  • I am glad to know your issue was resolved.
    Sunday, April 1, 2018 9:16 AM