Traefik på Windows 2016 kan ikke oprette forbindelse til Docker

Indlæg af Hanne Mølgaard Plasc

Problem



Forsøger at få Traefik til at arbejde på Windows 2016 Server. Den kan ikke oprette forbindelse til den lokale docker-dæmon og giver følgende fejl. Nogle ideer?


traefik\_1  | time="2018-05-17T11:21:25-04:00" level=error msg="Failed to retrieve information of the docker client and server host: error during connect: Get http://192.168.32.1:2376/v1.24/version: dial tcp 192.168.32.1:2376: connectex: No connection could be made because the target machine actively refused it."


Min daemon.json-fil indeholder: {"graph": "E:\Docker"}


Her er output fra c:>docker system info


Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 10
Server Version: 17.06.2-ee-10
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.2214.amd64fre.rs1\_release\_1.180402-1758)
Operating System: Windows Server 2016 Standard
OSType: windows
Architecture: x86\_64
CPUs: 4
Total Memory: 2.386GiB
Name: dockerServer
ID: QOKM:O5QE:XOMZ:YNQN:JGT2:XAWN:DIUG:3K3H:M725:CADH:G6NE:Y5RK
Docker Root Dir: E:Docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false


Her er output for api-versionsanmodningen:
    PS C: \ Windows \ system32> påkræve webrequest http://192.168.32.1:2376/v1.24/version[6]


StatusCode        : 200
StatusDescription : OK
Content           : {"Platform":{"Name":""},"Components":[{"Name":"Engine","Version":"17.06.2-ee-10","Details":{"ApiVersion":"1.30","Arch":"amd64","BuildTime":"2018-04-27T00:54:58.493613431+00:00","Experimental":"false",...
RawContent        : HTTP/1.1 200 OK
                    Api-Version: 1.30
                    Docker-Experimental: false
                    Ostype: windows
                    Content-Length: 633
                    Content-Type: application/json
                    Date: Tue, 22 May 2018 11:53:35 GMT
                    Server: Docker/17.06.2-ee-10 ...
Forms             : {}
Headers           : {[Api-Version, 1.30], [Docker-Experimental, false], [Ostype, windows], [Content-Length, 633]...}
Images            : {}
InputFields       : {}
Links             : {}
ParsedHtml        : System.\_\_ComObject
RawContentLength  : 633

Bedste reference