Closed TymYur closed 6 years ago
Same problem.Waiting
workaround Expose daemon to tcp://localhost:2375 without TLS”;
source:
https://forums.docker.com/t/spotify-docker-maven-plugin-cant-connect-to-localhost-2375/9093/15
We recommend users switch to https://github.com/spotify/dockerfile-maven. This project is now bug fix only mode. But if someone has a PR for https://github.com/spotify/docker-client/issues/875, I'd be happy to upgrade docker-client with that windows support here.
set class path //设置环境变量 DOCKER_HOST=unix:///var/run/docker.sock or add args before CMD //或者增加启动参数 DOCKER_HOST=unix:///var/run/docker.sock mvn clean install docker:build
workaround
Expose daemon to tcp://localhost:2375 without TLS”;
source: https://forums.docker.com/t/spotify-docker-maven-plugin-cant-connect-to-localhost-2375/9093/15
Life Saver!
Follow following steps for window 10 docker version : Version 2.0.0.3 (31259) or above Step 1: Right click on "Dcoker Desktop is running icon " Step 2: click on Settings Step 3: In “General Tab” you must enable checkbox “Expose Demon on tcp://localhost:2375 without TLS”
or refer my comment which put there https://forums.docker.com/t/spotify-docker-maven-plugin-cant-connect-to-localhost-2375/9093/15
You guys need to open the Docker Desktop app first, and let the engine start.
How do i do that in ubuntu?
How do i do that in ubuntu?
Have the same issue in Ubuntu. Have no answer. Have you got it?
Description
I try to build Docker image on Windows 10. On Unix it works well. If I set DOCKER_HOST to npipe:////./pipe/docker_engine I get
How to reproduce
What do you expect
Build new Docker image using Dockerfile
What happened instead
Software:
Full backtrace