小编sli*_*nke的帖子

如何将IntelliJ Docker集成连接到Docker桌面(对于Windows 10)

当我尝试将IntelliJ(Ultimate 2018.3.3)与本地运行的Docker Desktop(2.0.0.3版(31259))进行Docker集成时,出现以下错误:

Cannot connect: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost:127.0.0.1:2375
caused by: java.net.ConnectException: Connection refused: no further information
Run Code Online (Sandbox Code Playgroud)

我发现以下问题:IntelliJ无法连接到受保护的tcp Docker套接字

但是此解决方案导致此错误:

Cannot connect: com.github.dockerjava.api.exception.DockerClientException: Enabled TLS verification (DOCKER_TLS_VERIFY=1) but certificate path (DOCKER_CERT_PATH) is not defined.
Run Code Online (Sandbox Code Playgroud)

我搜索了Docker Desktop的证书路径,但未找到任何内容,因为Docker Desktop的新Hyper-V解决方案不再运行docker-machine native。

windows intellij-idea docker

10
推荐指数
1
解决办法
1459
查看次数

标签 统计

docker ×1

intellij-idea ×1

windows ×1