当我开始启动 docker 时,它卡住了,并且有很多不好的问题
系统:Windows 8.1 64位
我将 virtualbox 5.0.6 替换为 virtualbox 5.0.7 但还是有错误
错误一:
当 Docker 快速启动终端想要开始启动 VM... 时挂起
错误二
我使用 docker run hello-world 测试我的安装,得到以下结果:
Post http://127.0.0.1:2375/v1.20/containers/create: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it.. * Are you trying to connect to a TLS-enabled daemon without TLS? * Is your docker daemon up and running?
错误三
运动学不起作用 它一直工作到 99%,但突然就不起作用了
Machine IP could not be fetched. Please retry the setup. If this fails please file a ticket on our GitHub repo.
最佳答案
我在谷歌搜索一段时间后找到的最佳解决方案:
首先检查您的 Virtualbox 版本是否是最新的或至少高于 5,然后
- 在 CMD 上运行
docker-machine rm -f##dockerContainerName##
(通常:默认) - 从您的用户文件夹中删除 .docker 文件夹
- 运行
docker-machine create --driver virtualbox ##dockerContainerName##
- 利润!!!
关于windows - Windows 中 docker 的错误类型?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33242212/