boot2docker ssh
sudo curl -o /var/lib/boot2docker/profile https://gist.githubusercontent.com/MatthewRDodds/7d4423dc579d5306fd17/raw/3d09c77aae38b4f2809d504784965f5a16f2de4c/gistfile1.txt
sudo halt
boot2docker up
Increase Docker Client timeout with environment variable:
export DOCKER_CLIENT_TIMEOUT=1000
An error occurred trying to connect: Post https://192.168.59.104:2376/v1.19/containers/create?name=connexio_devbox_gems: dial tcp 192.168.59.104:2376: i/o timeout
The environment setting for boot2docker's IP is messed up
Find the legit setting:
boot2docker ip
And update the DOCKER_HOST
variable to that value.
I think the only thing to do with this is to start over :(
boot2docker delete
boot2docker init
boot2docker up
$(boot2docker shellinit)
osx$ boot2docker up
osx$ boot2docker ssh
docker@boot2docker$ sudo echo "nameserver 8.8.8.8" > /etc/resolv.conf
docker@boot2docker$ sudo /etc/init.d/docker restart