{"action":"created","issue":{"url":"https://api.github.com/repos/codenvy/che/issues/300","repository_url":"https://api.github.com/repos/codenvy/che","labels_url":"https://api.github.com/repos/codenvy/che/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/codenvy/che/issues/300/comments","events_url":"https://api.github.com/repos/codenvy/che/issues/300/events","html_url":"https://github.com/codenvy/che/issues/300","id":132741908,"number":300,"title":"Creating workspace with che running inside a docker container fails with certificates https error","user":{"login":"lbriais","id":3846669,"avatar_url":"https://avatars.githubusercontent.com/u/3846669?v=3","gravatar_id":"","url":"https://api.github.com/users/lbriais","html_url":"https://github.com/lbriais","followers_url":"https://api.github.com/users/lbriais/followers","following_url":"https://api.github.com/users/lbriais/following{/other_user}","gists_url":"https://api.github.com/users/lbriais/gists{/gist_id}","starred_url":"https://api.github.com/users/lbriais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbriais/subscriptions","organizations_url":"https://api.github.com/users/lbriais/orgs","repos_url":"https://api.github.com/users/lbriais/repos","events_url":"https://api.github.com/users/lbriais/events{/privacy}","received_events_url":"https://api.github.com/users/lbriais/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-10T16:06:26Z","updated_at":"2016-02-10T16:40:25Z","closed_at":null,"body":"As Che requires some dependencies (mainly java and docker), and that I have a server which does nothing else than running docker containers (it is basically a Ubuntu server 14.04 with nothing but docker installed on it), I didn't want to run Che on bare metal, but in fact having it part of my docker infrastructure.\r\n\r\n__I have already containers that require access to the docker host__, and this is not a problem. What I do for that is that I mount as a volume inside the container the `/var/run/docker.sock` file from the host, install docker in the container, create a user in the container in the 'docker' group.\r\n\r\nThat works great, and indeed, inside the container this user is able to communicate with the docker daemon (ps, stop/start containers).\r\n\r\nI have been able to install and start _eclipse-che_ in this container. No problem so far. \r\n\r\nNow when I try to create a workspace in my browser, I get a strange error about https:\r\n\r\n```\r\neclipse_1 | 2016-02-10 14:56:56,384[nio-8080-exec-2]  [INFO ] [o.e.c.a.w.s.WorkspaceManager 144]    - EVENT#workspace-created# WS#wksp-monr# WS-ID#workspaceu77takbif2m1dmj4# USER#che#\r\neclipse_1 | 2016-02-10 14:57:11,755[kspaceManager-0]  [INFO ] [o.e.c.a.m.s.MachineManager 167]      - Creating machine [ws = workspaceu77takbif2m1dmj4: env = wksp-monr: machine = ws-machine]\r\neclipse_1 | Exception in thread \"WorkspaceManager-0\" java.lang.IllegalArgumentException: Certificates are required for https connection.\r\neclipse_1 |     at org.eclipse.che.plugin.docker.client.connection.TcpConnection.<init>(TcpConnection.java:41)\r\neclipse_1 |     at org.eclipse.che.plugin.docker.client.connection.DockerConnectionFactory.openConnection(DockerConnectionFactory.java:52)\r\neclipse_1 |     at org.eclipse.che.plugin.docker.client.DockerConnector.doBuildImage(DockerConnector.java:788)\r\neclipse_1 |     at org.eclipse.che.plugin.docker.client.DockerConnector.buildImage(DockerConnector.java:222)\r\neclipse_1 |     at org.eclipse.che.plugin.docker.client.DockerConnector.buildImage(DockerConnector.java:194)\r\neclipse_1 |     at org.eclipse.che.plugin.docker.machine.DockerInstanceProvider.buildImage(DockerInstanceProvider.java:299)\r\neclipse_1 |     at org.eclipse.che.plugin.docker.machine.DockerInstanceProvider.createInstance(DockerInstanceProvider.java:221)\r\neclipse_1 |     at org.eclipse.che.api.machine.server.MachineManager.createInstance(MachineManager.java:360)\r\neclipse_1 |     at org.eclipse.che.api.machine.server.MachineManager$$Lambda$36/1946055025.createInstance(Unknown Source)\r\neclipse_1 |     at org.eclipse.che.api.machine.server.MachineManager.createMachine(MachineManager.java:337)\r\neclipse_1 |     at org.eclipse.che.api.machine.server.MachineManager.createMachineSync(MachineManager.java:168)\r\neclipse_1 |     at org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.createMachine(RuntimeWorkspaceRegistry.java:454)\r\neclipse_1 |     at org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.startEnvironment(RuntimeWorkspaceRegistry.java:320)\r\neclipse_1 |     at org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.start(RuntimeWorkspaceRegistry.java:146)\r\neclipse_1 |     at org.eclipse.che.api.workspace.server.WorkspaceManager.performSyncStart(WorkspaceManager.java:642)\r\neclipse_1 |     at org.eclipse.che.api.workspace.server.WorkspaceManager.lambda$performAsyncStart$1(WorkspaceManager.java:613)\r\neclipse_1 |     at org.eclipse.che.api.workspace.server.WorkspaceManager$$Lambda$33/1545545276.run(Unknown Source)\r\neclipse_1 |     at org.eclipse.che.commons.lang.concurrent.CopyThreadLocalRunnable.run(CopyThreadLocalRunnable.java:28)\r\neclipse_1 |     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\neclipse_1 |     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\neclipse_1 |     at java.lang.Thread.run(Thread.java:745)\r\n\r\n```\r\n\r\n\r\n__Any hint about what I should do to fix this ?__"},"comment":{"url":"https://api.github.com/repos/codenvy/che/issues/comments/182469828","html_url":"https://github.com/codenvy/che/issues/300#issuecomment-182469828","issue_url":"https://api.github.com/repos/codenvy/che/issues/300","id":182469828,"user":{"login":"lbriais","id":3846669,"avatar_url":"https://avatars.githubusercontent.com/u/3846669?v=3","gravatar_id":"","url":"https://api.github.com/users/lbriais","html_url":"https://github.com/lbriais","followers_url":"https://api.github.com/users/lbriais/followers","following_url":"https://api.github.com/users/lbriais/following{/other_user}","gists_url":"https://api.github.com/users/lbriais/gists{/gist_id}","starred_url":"https://api.github.com/users/lbriais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbriais/subscriptions","organizations_url":"https://api.github.com/users/lbriais/orgs","repos_url":"https://api.github.com/users/lbriais/repos","events_url":"https://api.github.com/users/lbriais/events{/privacy}","received_events_url":"https://api.github.com/users/lbriais/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T16:40:25Z","updated_at":"2016-02-10T16:40:25Z","body":"Forgot to mention the workspace remains in '_Starting_' state with no possibility to stop or delete it..."}}