我在Windows 7,VirtualBox 5.0.4,Docker工具箱1.9.0上。当我运行快速入门时,我得到:
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...
但是,当我打开VirtualBox并查看时,确实得到了正在运行的“默认” VM。在我的VBox.log中,我看到了(完整文件在这里):
00:00:00.696246 HM: HMR3Init: VT-x w/ nested paging and unrestricted guest execution hw support
因此,VT-X支持对我来说还可以。就在日志文件的末尾,我看到关于未安装D-Bus的不祥之处:
00:00:46.950561 VMMDev: Guest Log: 00:00:10.018836 vminfo Error: Unable to connect to system D-Bus (3/3): D-Bus not installed
在这里已报告了D-Bus问题https://github.com/docker/toolbox/issues/214当我在此之后再次直接运行快速入门时,我收到一条有关获取IP地址的错误消息:
Machine default already exists in VirtualBox.
Setting environment variables for machine default...
Error running connection boilerplate: Error getting driver URL: Something went wrong running an SSH command!
command : ip addr show dev eth1
err : exit status 255
output :
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
Error getting IP address: Something went wrong running an SSH command!
command : ip addr show dev eth1
err : exit status 255
output :
docker is configured to use the default machine with IP
For help getting started, check out the docs at https://docs.docker.com
NOTE: When using interactive commands, prepend winpty. Examples: 'winpty docker run -it ...', 'winpty docker exec -it ...'.
如果我运行命令,则会收到另一条与连接有关的消息:
$ winpty docker run hello-world
An error occurred trying to connect: Post http://localhost:2375/v1.21/containers
/create: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it.
此时,我转到https://www.virtualbox.org/wiki/Testbuilds并获得VirtualBox 5.0.9,然后卸载了Docker Toolboox,删除了默认的VM和.docker目录,然后重新安装了Toolbox,然后重新运行它,并遇到相同的问题:
Creating Machine default...
Creating CA: C:\Users\marwick\.docker\machine\certs\ca.pem
Creating client certificate: C:\Users\marwick\.docker\machine\certs\cert.pem
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...
此尝试的日志文件在这里:http : //pastebin.com/9VjD9t6P
我该如何工作?