Traefik на Windows 2016 не может подключиться к Docker - PullRequest
0 голосов
/ 17 мая 2018

Попытка заставить Traefik работать на Windows 2016 Server. Он не может подключиться к локальному демону Docker и выдает следующую ошибку. Есть идеи?

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."

Мой файл daemon.json содержит: {"graph": "E:\\Docker"}

Вот вывод из 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

Вот вывод для запроса версии API: PS C: \ Windows \ system32> invoke-webrequest http://192.168.32.1:2376/v1.24/version

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
...