{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/2273","labels_url":"https://api.github.com/repos/docker/machine/issues/2273/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/2273/comments","events_url":"https://api.github.com/repos/docker/machine/issues/2273/events","html_url":"https://github.com/docker/machine/issues/2273","id":116592450,"number":2273,"title":"docker-machine --native-ssh fails to start docker daemon","user":{"login":"pa-de-solminihac","id":2463094,"avatar_url":"https://avatars.githubusercontent.com/u/2463094?v=3","gravatar_id":"","url":"https://api.github.com/users/pa-de-solminihac","html_url":"https://github.com/pa-de-solminihac","followers_url":"https://api.github.com/users/pa-de-solminihac/followers","following_url":"https://api.github.com/users/pa-de-solminihac/following{/other_user}","gists_url":"https://api.github.com/users/pa-de-solminihac/gists{/gist_id}","starred_url":"https://api.github.com/users/pa-de-solminihac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pa-de-solminihac/subscriptions","organizations_url":"https://api.github.com/users/pa-de-solminihac/orgs","repos_url":"https://api.github.com/users/pa-de-solminihac/repos","events_url":"https://api.github.com/users/pa-de-solminihac/events{/privacy}","received_events_url":"https://api.github.com/users/pa-de-solminihac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-12T16:58:24Z","updated_at":"2015-11-12T23:20:47Z","closed_at":null,"body":"I am using dockertoolbox 1.9.0b on OS X, installed with `brew cask install dockertoolbox`.\r\n\r\nIt embeds docker-machine version 0.5.0 (04cfa58).\r\n\r\nI created a virtualbox VM called `default` by running:\r\n```bash\r\n/usr/local/bin/docker-machine --native-ssh create -d virtualbox --virtualbox-memory 2048 --virtualbox-no-share default\r\n```\r\n\r\nWhen starting VM using `--native-ssh` docker-machine flag, it fails silently:\r\n```bash\r\n$ docker-machine --native-ssh ssh default 'sudo /etc/init.d/docker start'\r\nNeed TLS certs for default,127.0.0.1,10.0.2.15,192.168.99.100\r\n-------------------\r\n\r\n$ docker-machine --native-ssh ssh default 'sudo /etc/init.d/docker status'\r\nDocker daemon is not running\r\n```\r\n\r\nI actually *can* start the VM if I enter an **interactive** shell session, using:\r\n```bash\r\n$ docker-machine --native-ssh ssh default\r\n$ sudo /etc/init.d/docker start\r\n$ sudo /etc/init.d/docker status\r\nDocker daemon is running\r\n```\r\n\r\nI can start the VM *non-interactively* too, if I don't use the `--native-ssh` flag.\r\n\r\nBTW, I have to use the `--native-ssh` flag because I have a local `.ssh/config` file with SSH options such as `ControlMaster` enabled and I don't want `docker-machine` to use these."},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/156268519","html_url":"https://github.com/docker/machine/issues/2273#issuecomment-156268519","issue_url":"https://api.github.com/repos/docker/machine/issues/2273","id":156268519,"user":{"login":"nathanleclaire","id":1476820,"avatar_url":"https://avatars.githubusercontent.com/u/1476820?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanleclaire","html_url":"https://github.com/nathanleclaire","followers_url":"https://api.github.com/users/nathanleclaire/followers","following_url":"https://api.github.com/users/nathanleclaire/following{/other_user}","gists_url":"https://api.github.com/users/nathanleclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanleclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanleclaire/subscriptions","organizations_url":"https://api.github.com/users/nathanleclaire/orgs","repos_url":"https://api.github.com/users/nathanleclaire/repos","events_url":"https://api.github.com/users/nathanleclaire/events{/privacy}","received_events_url":"https://api.github.com/users/nathanleclaire/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T23:20:47Z","updated_at":"2015-11-12T23:20:47Z","body":"The most recent release shouldn't inherit `ControlMaster` type settings anymore, but I'll take a look and see if something's up with `--native-ssh`."}}