Mac Boot2docker Certs not valid with 1.7

Source: Internet
Author: User

Excerpt from: https://github.com/boot2docker/boot2docker/issues/824

An error occurred trying to connect:get Https://192.168.59.103:2376/v1.19/containers/json:x509:certificate are valid for 127.0.0.1, 10.0.2.15, not 192.168.59.103

I come with the same problem and I had been able to solve with the solution Propuse here:

docker/machine#531

Boot2docker SSH
sudo su
cd/var/lib/boot2docker/
Touch profile

Vim profile

Wait4eth1 () {
Cnt=0
Until IP a show eth1 | Grep-q up
Do
[$ ((cnt++))-GT] && Break | | Sleep 1
Done
Sleep 1
}
Wait4eth1

Save and Close (: WQ)

Exit
Exit

Boot2docker Stop && boot2docker start && docker images
Should no longer complain with certs.

Mac Boot2docker Certs not valid with 1.7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.