{"action":"opened","issue":{"url":"https://api.github.com/repos/apocas/dockerode/issues/244","repository_url":"https://api.github.com/repos/apocas/dockerode","labels_url":"https://api.github.com/repos/apocas/dockerode/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/apocas/dockerode/issues/244/comments","events_url":"https://api.github.com/repos/apocas/dockerode/issues/244/events","html_url":"https://github.com/apocas/dockerode/issues/244","id":156457599,"number":244,"title":"Issue 244 - Cannot authenticate when docker env variables are not set","user":{"login":"DinisCruz","id":656739,"avatar_url":"https://avatars.githubusercontent.com/u/656739?v=3","gravatar_id":"","url":"https://api.github.com/users/DinisCruz","html_url":"https://github.com/DinisCruz","followers_url":"https://api.github.com/users/DinisCruz/followers","following_url":"https://api.github.com/users/DinisCruz/following{/other_user}","gists_url":"https://api.github.com/users/DinisCruz/gists{/gist_id}","starred_url":"https://api.github.com/users/DinisCruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DinisCruz/subscriptions","organizations_url":"https://api.github.com/users/DinisCruz/orgs","repos_url":"https://api.github.com/users/DinisCruz/repos","events_url":"https://api.github.com/users/DinisCruz/events{/privacy}","received_events_url":"https://api.github.com/users/DinisCruz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-24T09:14:03Z","updated_at":"2016-05-24T09:14:03Z","closed_at":null,"body":"When running on OSX using docker-machine in a runner that does not have the docker environment variables setup, we get an auth prob\r\n\r\nHere is a test that replicates the prob\r\n\r\n```coffee\r\nit 'Issue 244 - Cannot authenticate when docker env variables are not set', (done)->\r\n    docker = new Docker()\r\n    docker.listImages (err, data)->\r\n      assert_Is_Null data\r\n      err.assert_Is {\r\n                      code: 'ENOENT',\r\n                      errno: 'ENOENT',\r\n                      syscall: 'connect',\r\n                      address: '/var/run/docker.sock' }\r\n      done()\r\n```"}}
{"actor":{"display_login":"DinisCruz"}}