You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.
We tried to move from 'docker-maven-plugin' to this one. But we can't build the image on 'OS X El Captain"
For the examples below we are always running
mvn clean verify -P docker
Our first two attempts were with
export DOCKER_HOST=tcp://localhost:2375
and
export DOCKER_HOST=https://localhost:2375
which yielded
[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.3.3:build (default) on project my-api: Could not build image: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused -> [Help 1]
Then we tried
export DOCKER_HOST=unix:///var/run/docker.sock
which gave us
[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.3.3:build (default) on project my-api: Execution default of goal com.spotify:dockerfile-maven-plugin:1.3.3:build failed: An HTTPS URI for DOCKER_HOST must be provided to use Docker client certificates -> [Help 1]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi.
We tried to move from 'docker-maven-plugin' to this one. But we can't build the image on 'OS X El Captain"
For the examples below we are always running
Our first two attempts were with
and
which yielded
Then we tried
which gave us
We can't find any docs on how to get it working.
My pom.xml for reference
The text was updated successfully, but these errors were encountered: