{"action":"created","issue":{"url":"https://api.github.com/repos/ailispaw/boot2docker-xhyve/issues/28","repository_url":"https://api.github.com/repos/ailispaw/boot2docker-xhyve","labels_url":"https://api.github.com/repos/ailispaw/boot2docker-xhyve/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/ailispaw/boot2docker-xhyve/issues/28/comments","events_url":"https://api.github.com/repos/ailispaw/boot2docker-xhyve/issues/28/events","html_url":"https://github.com/ailispaw/boot2docker-xhyve/issues/28","id":133844362,"number":28,"title":"Client can't connect even with env vars set correctly?","user":{"login":"uniraymond","id":1581641,"avatar_url":"https://avatars.githubusercontent.com/u/1581641?v=3","gravatar_id":"","url":"https://api.github.com/users/uniraymond","html_url":"https://github.com/uniraymond","followers_url":"https://api.github.com/users/uniraymond/followers","following_url":"https://api.github.com/users/uniraymond/following{/other_user}","gists_url":"https://api.github.com/users/uniraymond/gists{/gist_id}","starred_url":"https://api.github.com/users/uniraymond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uniraymond/subscriptions","organizations_url":"https://api.github.com/users/uniraymond/orgs","repos_url":"https://api.github.com/users/uniraymond/repos","events_url":"https://api.github.com/users/uniraymond/events{/privacy}","received_events_url":"https://api.github.com/users/uniraymond/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-15T23:46:24Z","updated_at":"2016-02-16T03:41:45Z","closed_at":null,"body":"Hey there,\r\n\r\nI have boot2docker-xhyve setup, and as far as I can tell it's set up correctly, however the client refuses to connect even with the environment variables set correctly? \r\n\r\n```\r\n$ docker info\r\nCannot connect to the Docker daemon. Is the docker daemon running on this host?\r\n```\r\n\r\nNow, `make ssh` works fine, and I can run `docker` from inside the xhyve VM\r\n\r\nIn my `~/.zshrc` I have the following:\r\n\r\n```\r\n## Set up boot2docker-xhyve env vars\r\npushd $HOME/Development/tools/boot2docker-xhyve > /dev/null\r\nunset DOCKER_TLS_VERIFY\r\nunset DOCKER_CERT_PATH\r\nexport DOCKER_HOST=tcp://`make ip`:2375\r\npopd &> /dev/null\r\n```\r\n\r\n```\r\n$ echo $DOCKER_HOST\r\ntcp://192.168.64.2:2375\r\n```\r\n\r\nOriginally, this computer had the Docker Toolbox installed, however this should have all been removed: I deleted the `~/.docker` folder to ensure it wasn't loading the wrong configuration, but I can't for the life of me work out whats happening here. Docker versions in both the client and the VM are `1.9.1`"},"comment":{"url":"https://api.github.com/repos/ailispaw/boot2docker-xhyve/issues/comments/184501681","html_url":"https://github.com/ailispaw/boot2docker-xhyve/issues/28#issuecomment-184501681","issue_url":"https://api.github.com/repos/ailispaw/boot2docker-xhyve/issues/28","id":184501681,"user":{"login":"ailispaw","id":10327896,"avatar_url":"https://avatars.githubusercontent.com/u/10327896?v=3","gravatar_id":"","url":"https://api.github.com/users/ailispaw","html_url":"https://github.com/ailispaw","followers_url":"https://api.github.com/users/ailispaw/followers","following_url":"https://api.github.com/users/ailispaw/following{/other_user}","gists_url":"https://api.github.com/users/ailispaw/gists{/gist_id}","starred_url":"https://api.github.com/users/ailispaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ailispaw/subscriptions","organizations_url":"https://api.github.com/users/ailispaw/orgs","repos_url":"https://api.github.com/users/ailispaw/repos","events_url":"https://api.github.com/users/ailispaw/events{/privacy}","received_events_url":"https://api.github.com/users/ailispaw/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T03:41:45Z","updated_at":"2016-02-16T03:41:45Z","body":"```\r\n/usr/local/bin/docker daemon -D -g /var/lib/docker -H unix:// -H tcp://0.0.0.0:2376 --tlsverify --tlscacert=/var/lib/boot2docker/tls/ca.pem --tlscert=/var/lib/boot2docker/tls/server.pem --tlskey=/var/lib/boot2docker/tls/serverkey.pem\r\n```\r\n\r\nThis configuration is the default of boot2docker with TLS port 2376.\r\nThat's why you can not access with port 2375.\r\n\r\nI guess that you could not download/create the persistent disk image correctly to use the port 2375.\r\nPlease try `make clean && make`."}}