在windows下运行docker的问题【Error getting IP address: ***】

时间:2017-07-09 19:32:49   收藏:0   阅读:3810

环境配置
系统:windows 10
docker:Docker Toolbox
https://www.docker.com/products/docker-toolbox

问题描述
windows下安装完Docker Toolbox后运行Docker Quickstart Terminal可能会看到如下错误
Creating Machine default...
Running pre-create checks...
Creating machine...
Error creating machine: Error in driver during machine creation: Maximum number of retries (5) exceeded
Looks like something went wrong... Press any key to continue...
Error getting IP address: Something went wrong running an SSH command!
command : ip addr show dev eth1
err     : exit status 255
处理方案
1. 打开Oracle VM VirtualBox
2. 删除默认的虚拟机,如果在运行就停止后删除
3. 重启Docker Quickstart Terminal,会重新生成一个虚拟机,启动完成,问题应该解决了

希望对遇到此类问题的朋友有所帮助,如果解决不了,自行和谐搜索吧
参考资料
https://superuser.com/questions/996785/docker-toolbox-error-creating-machine-error-in-driver-during-machine-creation

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!