{"action":"created","issue":{"url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/431","repository_url":"https://api.github.com/repos/ContainerSolutions/minimesos","labels_url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/431/comments","events_url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/431/events","html_url":"https://github.com/ContainerSolutions/minimesos/issues/431","id":153029449,"number":431,"title":"Docker for Mac beta compatibility","user":{"login":"remmelt","id":1133496,"avatar_url":"https://avatars.githubusercontent.com/u/1133496?v=3","gravatar_id":"","url":"https://api.github.com/users/remmelt","html_url":"https://github.com/remmelt","followers_url":"https://api.github.com/users/remmelt/followers","following_url":"https://api.github.com/users/remmelt/following{/other_user}","gists_url":"https://api.github.com/users/remmelt/gists{/gist_id}","starred_url":"https://api.github.com/users/remmelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remmelt/subscriptions","organizations_url":"https://api.github.com/users/remmelt/orgs","repos_url":"https://api.github.com/users/remmelt/repos","events_url":"https://api.github.com/users/remmelt/events{/privacy}","received_events_url":"https://api.github.com/users/remmelt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ContainerSolutions/minimesos/labels/blocked","name":"blocked","color":"eb6420"},{"url":"https://api.github.com/repos/ContainerSolutions/minimesos/labels/docker","name":"docker","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ContainerSolutions/minimesos/milestones/13","html_url":"https://github.com/ContainerSolutions/minimesos/milestones/0.x.0","labels_url":"https://api.github.com/repos/ContainerSolutions/minimesos/milestones/13/labels","id":1657438,"number":13,"title":"0.x.0","description":"","creator":{"login":"frankscholten","id":294372,"avatar_url":"https://avatars.githubusercontent.com/u/294372?v=3","gravatar_id":"","url":"https://api.github.com/users/frankscholten","html_url":"https://github.com/frankscholten","followers_url":"https://api.github.com/users/frankscholten/followers","following_url":"https://api.github.com/users/frankscholten/following{/other_user}","gists_url":"https://api.github.com/users/frankscholten/gists{/gist_id}","starred_url":"https://api.github.com/users/frankscholten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankscholten/subscriptions","organizations_url":"https://api.github.com/users/frankscholten/orgs","repos_url":"https://api.github.com/users/frankscholten/repos","events_url":"https://api.github.com/users/frankscholten/events{/privacy}","received_events_url":"https://api.github.com/users/frankscholten/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":3,"state":"open","created_at":"2016-03-21T14:35:06Z","updated_at":"2016-07-06T13:16:35Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-05-04T14:42:58Z","updated_at":"2016-08-05T07:37:10Z","closed_at":null,"body":"minimesos will not build on Docker for Mac. This is due to an upstream problem in docker-java, which has an upstream problem in Netty:\r\nhttps://github.com/docker-java/docker-java/issues/537\r\n\r\nSwitching to a different Docker java library is not an option because 1) docker-java is the de facto default, 2) our chosen Gradle plugin uses docker-java itself.\r\n\r\nThe problem is that docker-java uses Netty to connect to `/var/run/docker.sock`. Netty does not have support for connecting to Unix sockets on anything except Linux. Netty devs do not have this issue high on their priority list.\r\n\r\nThere is a workaround which uses socat (`brew install socat`):\r\n`socat TCP-LISTEN:2375,reuseaddr,fork UNIX-CONNECT:/var/run/docker.sock &`\r\nThis opens a listening socket on `localhost:2375`, no TLS.\r\n`DOCKER_TLS_VERIFY=0 DOCKER_HOST=tcp://localhost:2375 make build` should now work.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/comments/237777974","html_url":"https://github.com/ContainerSolutions/minimesos/issues/431#issuecomment-237777974","issue_url":"https://api.github.com/repos/ContainerSolutions/minimesos/issues/431","id":237777974,"user":{"login":"philipphoffmann","id":1279634,"avatar_url":"https://avatars.githubusercontent.com/u/1279634?v=3","gravatar_id":"","url":"https://api.github.com/users/philipphoffmann","html_url":"https://github.com/philipphoffmann","followers_url":"https://api.github.com/users/philipphoffmann/followers","following_url":"https://api.github.com/users/philipphoffmann/following{/other_user}","gists_url":"https://api.github.com/users/philipphoffmann/gists{/gist_id}","starred_url":"https://api.github.com/users/philipphoffmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipphoffmann/subscriptions","organizations_url":"https://api.github.com/users/philipphoffmann/orgs","repos_url":"https://api.github.com/users/philipphoffmann/repos","events_url":"https://api.github.com/users/philipphoffmann/events{/privacy}","received_events_url":"https://api.github.com/users/philipphoffmann/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T07:37:09Z","updated_at":"2016-08-05T07:37:09Z","body":"Trying to get the workaround running I always end up with this:\r\n\r\n```\r\nExecuting task ':cli:buildDockerImage' (up-to-date check took 0.0 secs) due to:\r\n  Task has not declared any outputs.\r\nBuilding image from folder '/Users/phil/dev/minimesos/cli/build/docker'.\r\nUsing tag 'containersol/minimesos-cli' for image.\r\nRunning in a non-OSGi environment\r\n\"No custom request executor provider registrations found - using default: [org.glassfish.jersey.client.ClientAsyncExecutorFactory$1].\"\r\n> Building 17% > :cli:buildDockerImage2016/08/05 09:34:22 socat[1242] E write(5, 0x7fd4ec800000, 7): Broken pipe\r\n:cli:buildDockerImage FAILED\r\n:cli:buildDockerImage (Thread[Daemon worker,5,main]) completed. Took 1.074 secs.\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':cli:buildDockerImage'.\r\n> javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?\r\n\r\n* Try:\r\nRun with --debug option to get more log output.\r\n\r\n* Exception is:\r\norg.gradle.api.tasks.TaskExecutionException: Execution failed for task ':cli:buildDockerImage'.\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)\r\n        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)\r\n        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)\r\n        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)\r\n        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)\r\n        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)\r\n        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)\r\n        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)\r\n        at org.gradle.internal.Factories$1.create(Factories.java:22)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:150)\r\n        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)\r\n        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)\r\n        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)\r\n        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)\r\n        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)\r\n        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)\r\n        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)\r\n        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)\r\n        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)\r\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)\r\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)\r\n        at org.gradle.util.Swapper.swap(Swapper.java:38)\r\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:40)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)\r\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)\r\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)\r\n        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)\r\n        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)\r\n        at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)\r\nCaused by: javax.ws.rs.ProcessingException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?\r\n        at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:513)\r\n        at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246)\r\n        at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:683)\r\n        at org.glassfish.jersey.internal.Errors.process(Errors.java:315)\r\n        at org.glassfish.jersey.internal.Errors.process(Errors.java:297)\r\n        at org.glassfish.jersey.internal.Errors.process(Errors.java:228)\r\n        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)\r\n        at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:679)\r\n        at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:435)\r\n        at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:338)\r\n        at com.github.dockerjava.jaxrs.BuildImageCmdExec.execute(BuildImageCmdExec.java:68)\r\n        at com.github.dockerjava.jaxrs.BuildImageCmdExec.execute(BuildImageCmdExec.java:27)\r\n        at com.github.dockerjava.jaxrs.AbstrDockerCmdExec.exec(AbstrDockerCmdExec.java:57)\r\n        at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:29)\r\n        at com.github.dockerjava.api.command.DockerCmd$exec.call(Unknown Source)\r\n        at com.bmuschko.gradle.docker.tasks.image.DockerBuildImage.runRemoteCommand(DockerBuildImage.groovy:89)\r\n        at com.bmuschko.gradle.docker.tasks.AbstractDockerRemoteApiTask$_start_closure1.doCall(AbstractDockerRemoteApiTask.groovy:48)\r\n        at com.bmuschko.gradle.docker.utils.DockerThreadContextClassLoader.withClasspath(DockerThreadContextClassLoader.groovy:37)\r\n        at com.bmuschko.gradle.docker.utils.ThreadContextClassLoader$withClasspath.call(Unknown Source)\r\n        at com.bmuschko.gradle.docker.tasks.AbstractDockerRemoteApiTask.start(AbstractDockerRemoteApiTask.groovy:47)\r\n        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)\r\n        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:621)\r\n        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:604)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)\r\n        ... 68 more\r\nCaused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?\r\n        at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:261)\r\n        at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:118)\r\n        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)\r\n        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:357)\r\n        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:218)\r\n        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194)\r\n        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85)\r\n        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)\r\n        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)\r\n        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)\r\n        at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:465)\r\n        ... 95 more\r\n\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 6.085 secs\r\nStopped 0 compiler daemon(s).\r\nReceived result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':cli:buildDockerImage'.] from daemon DaemonInfo{pid=1161, address=[e660fa56-b8a5-4535-b24b-fc666a41fea5 port:54662, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], idle=false, lastBusy=1470382458079, context=DefaultDaemonContext[uid=a3f75516-2664-4956-94e5-f57c6486e566,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home,daemonRegistryDir=/Users/phil/.gradle/daemon,pid=1161,idleTimeout=120000,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024M,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).\r\nmake: *** [build] Error 1\r\n```\r\n\r\ndocker for mac version is up to date (1.12.0-beta21 (build: 11019))\r\n\r\nNot sure how to proceed here, any advise is highly appreciated :)"}}
{"actor":{"display_login":"philipphoffmann"}}