我正在运行 vagrant up 命令以连接到 VM,并且在运行此命令时出现下面提到的错误。
我尝试了几个步骤以在 gui 模式打开的情况下运行它,但 GUI 模式本身并没有打开任何东西。
运行此命令时,一个单独的命令提示符会打开并自行关闭。之后我得到以下错误。谁能给我一些想法,我该如何解决这个问题..
详细信息:
操作系统:Windows 7 遵循的步骤是:1. vagrant box add box1 c:/vmBoxFolder
- 运行良好 2. vagrant init box1
- 运行良好 3. vagrant up
- 失败
主机文件条目: 127.0.0.1 localhost ::1 localhost
错误 :
C:\blog>vagrant up
[default] VM already created. Booting if its not already running...
[default] Running any VM customizations...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] Cleaning previously set shared folders...
[default] Creating shared folders metadata...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] Failed to connect to VM!
Failed to connect to VM via SSH. Please verify the VM successfully booted
by looking at the VirtualBox GUI.
谢谢,幸运。