{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/8145","repository_url":"https://api.github.com/repos/mitchellh/vagrant","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/8145/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/8145/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/8145/events","html_url":"https://github.com/mitchellh/vagrant/issues/8145","id":196820487,"number":8145,"title":"Shell provisioning using docker-exec instead of SSH","user":{"login":"dbichko","id":854672,"avatar_url":"https://avatars.githubusercontent.com/u/854672?v=3","gravatar_id":"","url":"https://api.github.com/users/dbichko","html_url":"https://github.com/dbichko","followers_url":"https://api.github.com/users/dbichko/followers","following_url":"https://api.github.com/users/dbichko/following{/other_user}","gists_url":"https://api.github.com/users/dbichko/gists{/gist_id}","starred_url":"https://api.github.com/users/dbichko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbichko/subscriptions","organizations_url":"https://api.github.com/users/dbichko/orgs","repos_url":"https://api.github.com/users/dbichko/repos","events_url":"https://api.github.com/users/dbichko/events{/privacy}","received_events_url":"https://api.github.com/users/dbichko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-21T01:02:14Z","updated_at":"2016-12-28T13:04:41Z","closed_at":null,"body":"As @chrisroberts suggested, I am resubmitting the feature request from #4179, since it wasn't actually addressed by #7377.\r\n\r\nBeing able to provision containers in the docker provider without an SSH daemon would greatly simplify (and speed up!) configuration, especially for multi-machine setups.\r\n\r\nI currently have multiple `Dockerfiles` that just add sshd to public images from Docker Hub (postgresql, tomcat, nginx, etc); provisioning with `exec` would allow me to eliminate all the `docker build` steps, and just use the public images directly.\r\n\r\nIdeally, the shell provisioner would prefer `exec` when using the docker provider (or at least fall back to it when ssh isn't available), but a separate provisioner with \"shell-like\" functionality would work to.\r\n\r\nIt seems that #7377 already did the heavy lifting in enabling `docker exec` support, and allowing the shell provisioner to use it would be quite doable?\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/269474350","html_url":"https://github.com/mitchellh/vagrant/issues/8145#issuecomment-269474350","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/8145","id":269474350,"user":{"login":"GrzegorzDrozd","id":1885137,"avatar_url":"https://avatars.githubusercontent.com/u/1885137?v=3","gravatar_id":"","url":"https://api.github.com/users/GrzegorzDrozd","html_url":"https://github.com/GrzegorzDrozd","followers_url":"https://api.github.com/users/GrzegorzDrozd/followers","following_url":"https://api.github.com/users/GrzegorzDrozd/following{/other_user}","gists_url":"https://api.github.com/users/GrzegorzDrozd/gists{/gist_id}","starred_url":"https://api.github.com/users/GrzegorzDrozd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrzegorzDrozd/subscriptions","organizations_url":"https://api.github.com/users/GrzegorzDrozd/orgs","repos_url":"https://api.github.com/users/GrzegorzDrozd/repos","events_url":"https://api.github.com/users/GrzegorzDrozd/events{/privacy}","received_events_url":"https://api.github.com/users/GrzegorzDrozd/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T13:04:41Z","updated_at":"2016-12-28T13:04:41Z","body":"Hi.\r\nPlease do that! I need to use bunch of shell scripts around Vagrant file to use docker-run BUT it would be so much easier to just inline that in Vagrantfile!\r\n\r\nThank you and have a nice day."}}
{"actor":{"display_login":"GrzegorzDrozd"}}