Boot2docker failed to start after installing Docker on MAC

Source: Internet
Author: User

After installing Docker on your Mac, you need to start Boot2docker to load the VMS before you can use the Docker command, but when I install Boot2docker, I start boot2docker an error occurs:


Waiting for VM and Docker daemon to start.............................................................................ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooStarted. Trying to get Docker socket one more timeError requesting socket: exit status 2
The test has been unable to begin.


Later on the overseas site to find a round, found to start Boot2docker to ensure that Mac native/etc/hosts have and only one line of localhost, point to 127.0.0.1.


sudo vim/etc/hosts

After modifying the Hosts file, run a command to delete the previous VM

Boot2docker Delete


And then run it again

Boot2docker Init

It's OK.


Boot2docker failed to start after installing Docker on MAC

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.