Docker can’t connect to boot2docker (OSX)

By | 24. 5. 2015

When you are trying to connect docker to boot2docker on OSX, you probably got this error message:

Solution to fix this error:

Go to the Virtual Box -> Preferences -> Network -> Host-only networks

  • Delete the host only networks
  • and create one new.

Then open the command line run this commands:

Warning: The boot2docker command delete all your docker images!

Now, the docker could be works!

Leave a Reply

Your email address will not be published. Required fields are marked *