{"action":"created","issue":{"url":"https://api.github.com/repos/docker-java/docker-java/issues/537","repository_url":"https://api.github.com/repos/docker-java/docker-java","labels_url":"https://api.github.com/repos/docker-java/docker-java/issues/537/labels{/name}","comments_url":"https://api.github.com/repos/docker-java/docker-java/issues/537/comments","events_url":"https://api.github.com/repos/docker-java/docker-java/issues/537/events","html_url":"https://github.com/docker-java/docker-java/issues/537","id":146286525,"number":537,"title":"docker for mac compatibility ","user":{"login":"jeantil","id":22979,"avatar_url":"https://avatars.githubusercontent.com/u/22979?v=3","gravatar_id":"","url":"https://api.github.com/users/jeantil","html_url":"https://github.com/jeantil","followers_url":"https://api.github.com/users/jeantil/followers","following_url":"https://api.github.com/users/jeantil/following{/other_user}","gists_url":"https://api.github.com/users/jeantil/gists{/gist_id}","starred_url":"https://api.github.com/users/jeantil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeantil/subscriptions","organizations_url":"https://api.github.com/users/jeantil/orgs","repos_url":"https://api.github.com/users/jeantil/repos","events_url":"https://api.github.com/users/jeantil/events{/privacy}","received_events_url":"https://api.github.com/users/jeantil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker-java/docker-java/labels/native/mac","name":"native/mac","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":131,"created_at":"2016-04-06T11:41:24Z","updated_at":"2016-08-16T10:04:37Z","closed_at":null,"body":"Hello, \r\n\r\nI am beta testing docker 4 mac  and when I disable docker-machine my test suite fails with \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\tat org.newsclub.net.unix.NativeUnixSocket.load(NativeUnixSocket.java:81)\r\n\tat org.newsclub.net.unix.NativeUnixSocket.<clinit>(NativeUnixSocket.java:112)\r\n\tat org.newsclub.net.unix.AFUNIXSocket.<init>(AFUNIXSocket.java:36)\r\n\tat org.newsclub.net.unix.AFUNIXSocket.newInstance(AFUNIXSocket.java:50)\r\n\tat org.testcontainers.shaded.com.github.dockerjava.jaxrs.ApacheUnixSocket.<init>(ApacheUnixSocket.java:53)\r\n\tat org.testcontainers.shaded.com.github.dockerjava.jaxrs.UnixConnectionSocketFactory.createSocket(UnixConnectionSocketFactory.java:65)\r\n````\r\nThe latest version of test containers (1.0.3 at the time of this writing) uses docker-java 2.2.0 (https://github.com/testcontainers/testcontainers-java/blob/2e227e29eded31c0b2d45a5351cc108994327394/core/pom.xml#L20) so I assume it is safe to say that docker-java 2.2.0 is not compatible with docker 4 mac. (I tried adding the dylib to my classpath and got further errors, also the compiled dylib seems hard to find and it feels very cumbersome to have to add it to the classpath manually). \r\n\r\nI want to create a bug report to org.testcontainers asking them to upgrade docker-java to a docker4mac compatible version so I checked out the repository and tried to build master using only docker4mac. \r\nI first got an error in com.github.dockerjava.client.DockerClientTest which seems to be the integration test. The error was that $HOME/.docker/certs did not exist. After creating that directory, I get the following output :\r\n````\r\nbeforeTest(com.github.dockerjava.client.DockerClientTest)  Time elapsed: 2.359 sec  <<< FAILURE!\r\njavax.ws.rs.ProcessingException: org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported\r\n\tat com.github.dockerjava.client.DockerClientTest.beforeTest(DockerClientTest.java:32)\r\nCaused by: org.apache.http.conn.UnsupportedSchemeException: https protocol is not supported\r\n\tat com.github.dockerjava.client.DockerClientTest.beforeTest(DockerClientTest.java:32)\r\n\r\n\r\nResults :\r\n\r\nFailed tests:\r\ncom.github.dockerjava.client.DockerClientTest.beforeTest(com.github.dockerjava.client.DockerClientTest)\r\n  Run 1: DockerClientTest.beforeTest:32->AbstractDockerClientTest.beforeTest:60 » Processing\r\n  Run 2: PASS\r\n  Run 3: PASS\r\n  Run 4: PASS\r\n  Run 5: PASS\r\n  Run 6: PASS\r\n  Run 7: PASS\r\n  Run 8: PASS\r\n  Run 9: PASS\r\n  Run 10: PASS\r\n  Run 11: PASS\r\n  Run 12: PASS\r\n  Run 13: PASS\r\n  Run 14: PASS\r\n  Run 15: PASS\r\n  Run 16: PASS\r\n  Run 17: PASS\r\n  Run 18: PASS\r\n  Run 19: PASS\r\n  Run 20: PASS\r\n  Run 21: PASS\r\n  Run 22: PASS\r\n  Run 23: PASS\r\n  Run 24: PASS\r\n  Run 25: PASS\r\n  Run 26: PASS\r\n  Run 27: PASS\r\n  Run 28: PASS\r\n  Run 29: PASS\r\n  Run 30: PASS\r\n  Run 31: PASS\r\n  Run 32: PASS\r\n  Run 33: PASS\r\n  Run 34: PASS\r\n  Run 35: PASS\r\n  Run 36: PASS\r\n  Run 37: PASS\r\n  Run 38: PASS\r\n  Run 39: PASS\r\n  Run 40: PASS\r\n  Run 41: PASS\r\n  Run 42: PASS\r\n  Run 43: PASS\r\n  Run 44: PASS\r\n  Run 45: PASS\r\n  Run 46: PASS\r\n  Run 47: PASS\r\n  Run 48: PASS\r\n  Run 49: PASS\r\n  Run 50: PASS\r\n  Run 51: PASS\r\n  Run 52: PASS\r\n  Run 53: PASS\r\n  Run 54: PASS\r\n  Run 55: PASS\r\n  Run 56: PASS\r\n  Run 57: PASS\r\n  Run 58: PASS\r\n  Run 59: PASS\r\n  Run 60: PASS\r\n  Run 61: PASS\r\n  Run 62: PASS\r\n  Run 63: PASS\r\n  Run 64: PASS\r\n  Run 65: PASS\r\n  Run 66: PASS\r\n  Run 67: PASS\r\n  Run 68: PASS\r\n  Run 69: PASS\r\n  Run 70: PASS\r\n  Run 71: PASS\r\n  Run 72: PASS\r\n  Run 73: PASS\r\n  Run 74: PASS\r\n  Run 75: PASS\r\n  Run 76: PASS\r\n  Run 77: PASS\r\n  Run 78: PASS\r\n  Run 79: PASS\r\n  Run 80: PASS\r\n  Run 81: PASS\r\n  Run 82: PASS\r\n  Run 83: PASS\r\n  Run 84: PASS\r\n  Run 85: PASS\r\n  Run 86: PASS\r\n  Run 87: PASS\r\n  Run 88: PASS\r\n  Run 89: PASS\r\n\r\n\r\nTests run: 462, Failures: 1, Errors: 0, Skipped: 458\r\n````\r\nAnd I am unsure what to conclude, the test failure seems to suggest that the lastest master is not docker4mac compatible either but a single failed test seems surprising ...\r\n\r\nCan you help me troubleshoot or maybe you already know if master is compatible with docker4mac ...\r\n\r\nThanks for your help\r\njean\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker-java/docker-java/issues/comments/240060287","html_url":"https://github.com/docker-java/docker-java/issues/537#issuecomment-240060287","issue_url":"https://api.github.com/repos/docker-java/docker-java/issues/537","id":240060287,"user":{"login":"andyp1per","id":2893260,"avatar_url":"https://avatars.githubusercontent.com/u/2893260?v=3","gravatar_id":"","url":"https://api.github.com/users/andyp1per","html_url":"https://github.com/andyp1per","followers_url":"https://api.github.com/users/andyp1per/followers","following_url":"https://api.github.com/users/andyp1per/following{/other_user}","gists_url":"https://api.github.com/users/andyp1per/gists{/gist_id}","starred_url":"https://api.github.com/users/andyp1per/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyp1per/subscriptions","organizations_url":"https://api.github.com/users/andyp1per/orgs","repos_url":"https://api.github.com/users/andyp1per/repos","events_url":"https://api.github.com/users/andyp1per/events{/privacy}","received_events_url":"https://api.github.com/users/andyp1per/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T10:04:37Z","updated_at":"2016-08-16T10:04:37Z","body":"I have logged into the docker vm and clearly enabling TCP is a possibility there - no documentation on how to do it though, I have asked on the docker forums ...."}}
{"actor":{"display_login":"andyp1per"}}