{"action":"created","issue":{"url":"https://api.github.com/repos/test-kitchen/kitchen-docker/issues/54","repository_url":"https://api.github.com/repos/test-kitchen/kitchen-docker","labels_url":"https://api.github.com/repos/test-kitchen/kitchen-docker/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/test-kitchen/kitchen-docker/issues/54/comments","events_url":"https://api.github.com/repos/test-kitchen/kitchen-docker/issues/54/events","html_url":"https://github.com/test-kitchen/kitchen-docker/issues/54","id":31931380,"number":54,"title":"kitchen-docker does not properly detect Docker CLI tool on Ubuntu 14.04","user":{"login":"misheska","id":729006,"avatar_url":"https://avatars.githubusercontent.com/u/729006?v=3","gravatar_id":"","url":"https://api.github.com/users/misheska","html_url":"https://github.com/misheska","followers_url":"https://api.github.com/users/misheska/followers","following_url":"https://api.github.com/users/misheska/following{/other_user}","gists_url":"https://api.github.com/users/misheska/gists{/gist_id}","starred_url":"https://api.github.com/users/misheska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misheska/subscriptions","organizations_url":"https://api.github.com/users/misheska/orgs","repos_url":"https://api.github.com/users/misheska/repos","events_url":"https://api.github.com/users/misheska/events{/privacy}","received_events_url":"https://api.github.com/users/misheska/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":30,"created_at":"2014-04-21T22:42:56Z","updated_at":"2017-02-09T10:07:15Z","closed_at":"2014-04-21T23:34:17Z","body":"The Docker CLI tool is called `docker.io` in the new Ubuntu 14.04 Docker package.  When I try using the `kitchen-docker` plugin on Ubuntu 14.04, I get the following error because it is looking for `docker` instead of `docker.io`:\n\n```\nkitchen list\n>>>>>> ------Exception-------\n>>>>>> Class: Kitchen::UserError\n>>>>>> Message: You must first install the Docker CLI tool     http://www.docker.io/gettingstarted/\n>>>>>> ----------------------\n>>>>>> Please see .kitchen/logs/kitchen.log for more details\n>>>>>> Also try running `kitchen diagnose --all` for configuration\n```\n"},"comment":{"url":"https://api.github.com/repos/test-kitchen/kitchen-docker/issues/comments/278598796","html_url":"https://github.com/test-kitchen/kitchen-docker/issues/54#issuecomment-278598796","issue_url":"https://api.github.com/repos/test-kitchen/kitchen-docker/issues/54","id":278598796,"user":{"login":"rkgade","id":10351669,"avatar_url":"https://avatars.githubusercontent.com/u/10351669?v=3","gravatar_id":"","url":"https://api.github.com/users/rkgade","html_url":"https://github.com/rkgade","followers_url":"https://api.github.com/users/rkgade/followers","following_url":"https://api.github.com/users/rkgade/following{/other_user}","gists_url":"https://api.github.com/users/rkgade/gists{/gist_id}","starred_url":"https://api.github.com/users/rkgade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkgade/subscriptions","organizations_url":"https://api.github.com/users/rkgade/orgs","repos_url":"https://api.github.com/users/rkgade/repos","events_url":"https://api.github.com/users/rkgade/events{/privacy}","received_events_url":"https://api.github.com/users/rkgade/received_events","type":"User","site_admin":false},"created_at":"2017-02-09T10:07:15Z","updated_at":"2017-02-09T10:07:15Z","body":"@marzzz21 That's because by default on Ubuntu installation, docker is run under sudo until you add your user to docker group. \r\n\r\nHowever, kitchen doesn't know that, hence by default, to use docker, kitchen tries to run docker as sudo. \r\nNow if you don't run kitchen as sudo(like sudo kitchen list), then it cannot run docker as sudo, hence it throws an error.\r\n\r\nWhen you put use_sudo:false, then kitchen tries to run docker without sudo and if you have configured dokcer to run with your user, kitchen will run just fine!"}}
{"actor":{"display_login":"rkgade"}}