{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/docker-maven-plugin/issues/105","labels_url":"https://api.github.com/repos/spotify/docker-maven-plugin/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/spotify/docker-maven-plugin/issues/105/comments","events_url":"https://api.github.com/repos/spotify/docker-maven-plugin/issues/105/events","html_url":"https://github.com/spotify/docker-maven-plugin/issues/105","id":91748172,"number":105,"title":"mvn clean package docker:build failing","user":{"login":"samaddico","id":9806160,"avatar_url":"https://avatars.githubusercontent.com/u/9806160?v=3","gravatar_id":"","url":"https://api.github.com/users/samaddico","html_url":"https://github.com/samaddico","followers_url":"https://api.github.com/users/samaddico/followers","following_url":"https://api.github.com/users/samaddico/following{/other_user}","gists_url":"https://api.github.com/users/samaddico/gists{/gist_id}","starred_url":"https://api.github.com/users/samaddico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samaddico/subscriptions","organizations_url":"https://api.github.com/users/samaddico/orgs","repos_url":"https://api.github.com/users/samaddico/repos","events_url":"https://api.github.com/users/samaddico/events{/privacy}","received_events_url":"https://api.github.com/users/samaddico/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-29T09:14:17Z","updated_at":"2015-07-06T17:45:49Z","closed_at":null,"body":"Hi ,\r\n\r\nSo I added these to my pom.xml,to build a docker image of my project.But for some reason it fails.\r\n\r\n\r\n    <plugin>\r\n        <groupId>com.spotify</groupId>\r\n        <artifactId>docker-maven-plugin</artifactId>\r\n        <version>0.2.11</version>\r\n     <configuration>  \r\n           <imageName>nurs-template-engine</imageName>\r\n           <baseImage>java</baseImage>\r\n           <entryPoint>[\"java\", \"-jar\", \"/${project.build.finalName}.jar\"]</entryPoint>\r\n         <resources>\r\n               <resource>\r\n                        <targetPath>/</targetPath>\r\n                        <directory>${project.build.directory}</directory>\r\n                        <include>${project.build.finalName}.jar</include>\r\n               </resource>\r\n      </resources>\r\n      </configuration>\r\n    </plugin>\r\n\r\n\r\nI keep having this error. i dont know what it means, i have searched through the web but to no avail.Any help will be much appreciated.\r\n\r\n```\r\n--- docker-maven-plugin:0.2.11:build (default-cli) @ template-engine ---\r\nSLF4J: Failed to load class \"org.slf4j.impl.StaticLoggerBinder\".\r\nSLF4J: Defaulting to no-operation (NOP) logger implementation\r\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\r\n[INFO] Copying /home/dreamadmin/NetBeansProjects/nurs/template-engine/target/template-engine-1.0-SNAPSHOT.jar -> /home/dreamadmin/NetBeansProjects/nurs/template-engine/target/docker/template-engine-1.0-SNAPSHOT.jar\r\n[INFO] Building image nurs-template-engine\r\nJun 26, 2015 5:36:37 PM org.apache.http.impl.execchain.RetryExec execute\r\nINFO: I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80: Permission denied\r\nJun 26, 2015 5:36:37 PM org.apache.http.impl.execchain.RetryExec execute\r\nINFO: Retrying request to {}->unix://localhost:80\r\nJun 26, 2015 5:36:37 PM org.apache.http.impl.execchain.RetryExec execute\r\nINFO: I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80: Permission denied\r\nJun 26, 2015 5:36:37 PM org.apache.http.impl.execchain.RetryExec execute\r\nINFO: Retrying request to {}->unix://localhost:80\r\nJun 26, 2015 5:36:37 PM org.apache.http.impl.execchain.RetryExec execute\r\nINFO: I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80: Permission denied\r\nJun 26, 2015 5:36:37 PM org.apache.http.impl.execchain.RetryExec execute\r\nINFO: Retrying request to {}->unix://localhost:80\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 3.777s\r\n[INFO] Finished at: Fri Jun 26 17:36:37 WAT 2015\r\n[INFO] Final Memory: 18M/239M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.2.11:build (default-cli) on project template-engine: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: java.io.IOException: Permission denied -> [Help 1]\r\n[ERROR]\r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR]\r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException\r\n\r\n```\r\nThanks in advance\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spotify/docker-maven-plugin/issues/comments/118936671","html_url":"https://github.com/spotify/docker-maven-plugin/issues/105#issuecomment-118936671","issue_url":"https://api.github.com/repos/spotify/docker-maven-plugin/issues/105","id":118936671,"user":{"login":"samaddico","id":9806160,"avatar_url":"https://avatars.githubusercontent.com/u/9806160?v=3","gravatar_id":"","url":"https://api.github.com/users/samaddico","html_url":"https://github.com/samaddico","followers_url":"https://api.github.com/users/samaddico/followers","following_url":"https://api.github.com/users/samaddico/following{/other_user}","gists_url":"https://api.github.com/users/samaddico/gists{/gist_id}","starred_url":"https://api.github.com/users/samaddico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samaddico/subscriptions","organizations_url":"https://api.github.com/users/samaddico/orgs","repos_url":"https://api.github.com/users/samaddico/repos","events_url":"https://api.github.com/users/samaddico/events{/privacy}","received_events_url":"https://api.github.com/users/samaddico/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T17:45:49Z","updated_at":"2015-07-06T17:45:49Z","body":"Response below :\r\n```\r\nGet http://xxx.xx.xx.x:2376/v1.19/images/json: read tcp xxx.xx.xx.xx:2376: connection reset by peer. Are you trying to connect to a TLS-enabled daemon without TLS?\r\n```"}}