Docker can't connect to boot2docker because of TCP timeout

后端 未结 12 2019
遇见更好的自我
遇见更好的自我 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:10

    I have had this issue as well and here is a temporary solution.

    First, open VirtualBox and check the network settings on the boot2docker VM to see what the host only adapter is named. In my case, it's vboxnet1; for you, it may be vboxnet0.

    Then, apply this command:

    sudo route -nv add -net 192.168.59 -interface vboxnet1
    

    Now you should be able to run Docker commands.

    See this issue for more information.

    I am noticing over time that a common denominator in this problem is Cisco anyconnect (me included), for what it's worth.

提交回复
热议问题