{"action":"created","issue":{"url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/235","repository_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin","labels_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/235/comments","events_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/235/events","html_url":"https://github.com/bmuschko/gradle-docker-plugin/issues/235","id":163578408,"number":235,"title":"docker for mac 1.12 cannot connect","user":{"login":"bitsofinfo","id":1743646,"avatar_url":"https://avatars.githubusercontent.com/u/1743646?v=3","gravatar_id":"","url":"https://api.github.com/users/bitsofinfo","html_url":"https://github.com/bitsofinfo","followers_url":"https://api.github.com/users/bitsofinfo/followers","following_url":"https://api.github.com/users/bitsofinfo/following{/other_user}","gists_url":"https://api.github.com/users/bitsofinfo/gists{/gist_id}","starred_url":"https://api.github.com/users/bitsofinfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitsofinfo/subscriptions","organizations_url":"https://api.github.com/users/bitsofinfo/orgs","repos_url":"https://api.github.com/users/bitsofinfo/repos","events_url":"https://api.github.com/users/bitsofinfo/events{/privacy}","received_events_url":"https://api.github.com/users/bitsofinfo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-03T20:27:06Z","updated_at":"2016-07-03T20:40:52Z","closed_at":null,"body":"Getting this. \r\n\r\nTried setting DOCKER_HOST to the docker socket but this gradle task still doesn't work\r\n\r\n```\r\n[dockerjava-jaxrs-async-0] ERROR com.github.dockerjava.core.async.ResultCallbackTemplate - Error during callback\r\norg.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused\r\n        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151)\r\n        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)\r\n        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)\r\n        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)\r\n        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)\r\n        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)\r\n        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)\r\n        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)\r\n        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)\r\n        at com.github.dockerjava.jaxrs.connector.ApacheConnector.apply(ApacheConnector.java:437)\r\n```\r\n\r\nIf i try\r\n\r\n```\r\ndocker {\r\n\turl = \"unix:///var/run/docker.sock\"\r\n}\r\n```\r\n\r\nI get \r\n\r\n```\r\njava.lang.UnsatisfiedLinkError: Could not find library in classpath, tried: [libjunixsocket-macosx-1.8-x86_64.dylib, libjunixsocket-macosx-1.5-x86_64.dylib]\r\n        at org.newsclub.net.unix.NativeUnixSocket.load(NativeUnixSocket.java:81)\r\n        at org.newsclub.net.unix.NativeUnixSocket.<clinit>(NativeUnixSocket.java:112)\r\n        at org.newsclub.net.unix.AFUNIXSocket.<init>(AFUNIXSocket.java:36)\r\n        at org.newsclub.net.unix.AFUNIXSocket.newInstance(AFUNIXSocket.java:50)\r\n        at com.github.dockerjava.jaxrs.ApacheUnixSocket.<init>(ApacheUnixSocket.java:51)\r\n        at com.github.dockerjava.jaxrs.UnixConnectionSocketFactory.createSocket(UnixConnectionSocketFactory.java:65)\r\n        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:118)\r\n        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)\r\n```\r\n\r\n? https://forums.docker.com/t/worked-around-docker-http-s-api-no-longer-available-in-beta9/10474/6"},"comment":{"url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/comments/230174157","html_url":"https://github.com/bmuschko/gradle-docker-plugin/issues/235#issuecomment-230174157","issue_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/235","id":230174157,"user":{"login":"bitsofinfo","id":1743646,"avatar_url":"https://avatars.githubusercontent.com/u/1743646?v=3","gravatar_id":"","url":"https://api.github.com/users/bitsofinfo","html_url":"https://github.com/bitsofinfo","followers_url":"https://api.github.com/users/bitsofinfo/followers","following_url":"https://api.github.com/users/bitsofinfo/following{/other_user}","gists_url":"https://api.github.com/users/bitsofinfo/gists{/gist_id}","starred_url":"https://api.github.com/users/bitsofinfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitsofinfo/subscriptions","organizations_url":"https://api.github.com/users/bitsofinfo/orgs","repos_url":"https://api.github.com/users/bitsofinfo/repos","events_url":"https://api.github.com/users/bitsofinfo/events{/privacy}","received_events_url":"https://api.github.com/users/bitsofinfo/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T20:40:52Z","updated_at":"2016-07-03T20:40:52Z","body":"This definitely aids the issue\r\n\r\n```\r\nbrew install socat\r\nnohup socat -4 TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock &\r\n```"}}
{"actor":{"display_login":"bitsofinfo"}}