{"action":"created","issue":{"url":"https://api.github.com/repos/boot2docker/boot2docker/issues/726","labels_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/726/labels{/name}","comments_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/726/comments","events_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/726/events","html_url":"https://github.com/boot2docker/boot2docker/issues/726","id":56581002,"number":726,"title":"Fatal error running \"docker version\" and other commands","user":{"login":"alexpreynolds","id":33584,"avatar_url":"https://avatars.githubusercontent.com/u/33584?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpreynolds","html_url":"https://github.com/alexpreynolds","followers_url":"https://api.github.com/users/alexpreynolds/followers","following_url":"https://api.github.com/users/alexpreynolds/following{/other_user}","gists_url":"https://api.github.com/users/alexpreynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpreynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpreynolds/subscriptions","organizations_url":"https://api.github.com/users/alexpreynolds/orgs","repos_url":"https://api.github.com/users/alexpreynolds/repos","events_url":"https://api.github.com/users/alexpreynolds/events{/privacy}","received_events_url":"https://api.github.com/users/alexpreynolds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-04T20:14:59Z","updated_at":"2015-02-04T21:21:54Z","closed_at":null,"body":"I installed the current release of ``boot2docker``. The installation was successful and no errors were returned. Subsequently, ``docker`` returns fatal errors on basic commands:\r\n\r\n```\r\n$ docker version\r\nClient version: 1.4.1\r\nClient API version: 1.16\r\nGo version (client): go1.3.3\r\nGit commit (client): 5bc2ff8\r\nOS/Arch (client): darwin/amd64\r\nFATA[0000] Get http:///var/run/docker.sock/v1.16/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? \r\n```\r\n\r\nThis same error occurs when trying to pull down an image from the hub:\r\n\r\n```\r\n$ docker run --name wordpress-db -e MYSQL_ROOT_PASSWORD=abcd1234 -d mysql\r\nFATA[0000] Post http:///var/run/docker.sock/v1.16/containers/create?name=wordpress-db: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? \r\n```"},"comment":{"url":"https://api.github.com/repos/boot2docker/boot2docker/issues/comments/72942031","html_url":"https://github.com/boot2docker/boot2docker/issues/726#issuecomment-72942031","issue_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/726","id":72942031,"user":{"login":"RomanSaveljev","id":2023288,"avatar_url":"https://avatars.githubusercontent.com/u/2023288?v=3","gravatar_id":"","url":"https://api.github.com/users/RomanSaveljev","html_url":"https://github.com/RomanSaveljev","followers_url":"https://api.github.com/users/RomanSaveljev/followers","following_url":"https://api.github.com/users/RomanSaveljev/following{/other_user}","gists_url":"https://api.github.com/users/RomanSaveljev/gists{/gist_id}","starred_url":"https://api.github.com/users/RomanSaveljev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomanSaveljev/subscriptions","organizations_url":"https://api.github.com/users/RomanSaveljev/orgs","repos_url":"https://api.github.com/users/RomanSaveljev/repos","events_url":"https://api.github.com/users/RomanSaveljev/events{/privacy}","received_events_url":"https://api.github.com/users/RomanSaveljev/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T21:21:54Z","updated_at":"2015-02-04T21:21:54Z","body":"Looks like your shell was not provisioned. You should run `boot2docker shellinit`. I usually do it like this:\r\n\r\n``` bash\r\nboot2docker shellinit >/tmp/init.sh\r\n. /tmp/init.sh\r\n```"}}