ww2t3g
Last Updated: February 25, 2016
·
110
· laupifrpar

Docker certs not valid with 1.7 upgrade

On the Mac, with boot2docker, the symptom is a message like this

An error occurred trying to connect: Get https://192.168.59.103:2376/v1.19/containers/json: x509: certificate is valid for 127.0.0.1, 10.0.2.15, not 192.168.59.103

The solution is to restarting docker on the VM with boot2docker

boot2docker ssh sudo /etc/init.d/docker restart

More information: