Docker can't connect to boot2docker because of TCP timeout

后端 未结 12 1927
遇见更好的自我
遇见更好的自我 2021-01-29 20:59

I\'m running Mac OS 10.9.5 (Mavericks), I\'ve followed https://docs.docker.com/installation/mac/ to install Docker. I get a timeout error message when I run Docker even though t

12条回答
  •  旧巷少年郎
    2021-01-29 21:17

    Here's what I did to fix the issue (I use OS X v10.10 (Yosemite) and the accepted answer didn't work for me):

    • boot2docker delete - Warning: this deletes all your Docker images.
    • In VirtualBox, go to VirtualBox (menu) → Preferences → Network → Host Only Networks
      • Delete the host only networks, and then I re-added them
    • boot2docker init
    • boot2docker up

    Now Docker works from the OS X command line via iTerm2 for me.

提交回复
热议问题