This happened to me, and none of the above problems arose.
Today, thanks to the suggestion of my colleagues, I did not start my VPN at first. I rebooted my car and started with a docker in the beginning.
boot2docker init boot2docker up $(boot2docker shellinit) docker run hello-world
Worked as expected!
I found this post by Florian Rosenberg useful. I read it in detail, but I think that most of what it offers in the first part was taken into account in the latest version of boot2docker. But the insightful bit: "Connecting to VPN Things will break." He suggested looking for a firewall rule that denies any of them. So, without a VPN, I was looking for this rule, and it was not there. Of course, as soon as I activated my VPN, I got the following (other) error ...
docker run hello-world 2014/11/13 11:11:18 Post https://192.168.59.103:2376/v1.15/containers/create: dial tcp 192.168.59.103:2376: permission denied
I checked the firewall rules and, of course, a new rule was added ... sudo ipfw -a list | grep "deny ip" 00411 1 64 deny ip from any to any
As soon as I remove this firewall rule with: sudo ipfw remove 00411
I managed to talk to the docker from the OSX command shell.
bobbiejc Nov 13 '14 at 16:30 2014-11-13 16:30
source share