I am running Docker 1.12.0 on a machine running Windows 10. I am developing a Java program using Maven 3.3.9 as a dependency manager. I have a maven docker plugin ( https://github.com/fabric8io/docker-maven-plugin ) that gives the following error on a clean install.
[ERROR] Failed to execute target io.fabric8: docker-maven-plugin: 0.15.16: build (docker-build-start) for project-test integration: Running docker-build-start target io.fabric8: docker-maven- plugin: 0.15.16: build failed: no <dockerHost> or <machine> , no environment variable DOCKER_HOST and no / read / writeable '/var/run/docker.sock' β [Help 1]
When I run a clean install with the following configuration option in the POM file:
<dockerHost>tcp://0.0.0.0:2376</dockerHost>
The following result is shown.
[ERROR] Failed to fulfill the io.fabric8 target: docker-maven-plugin: 0.15.16: build (docker-build-start) during test project integration: unable to create docker access object: unable to extract API version from https: / /0.0.0.0:2376 : Failed to connect to 0.0.0.0:2376 [/0.0.0.0]: connection rejected: connect β [Help 1]
My question is: is there an IP address that I can use to tell this maven plugin where it can get to the daemon? Normal docker teams work great. The plugin works without any problems with OS X.
source share