码迷,mamicode.com
首页 > 其他好文 > 详细

docker port 2376

时间:2014-11-25 23:59:51      阅读:497      评论:0      收藏:0      [点我收藏+]

标签:style   http   io   ar   os   sp   for   on   bs   

I have had this issue as well. I believe it‘s because of a recent update to either boot2docker or Virtualbox. In any case, the solution is to just to temporarily route until it is fixed upstream.

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

docker port 2376

标签:style   http   io   ar   os   sp   for   on   bs   

原文地址:http://my.oschina.net/dongwq/blog/348676

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!