Boot2Docker启动失败 [英] Boot2Docker Start up fails

查看:2354
本文介绍了Boot2Docker启动失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我完全是码头工人的新人。我已从来源安装。我试图通过使用 boot2docker start 从cmd运行它。但是我得到以下

  boot2docker start 
无法启动机器boot2docker-vm<再次运行v,了解详细信息> ;

boot2docker init
虚拟机boot2docker-vm已存在

boot2docker start
无法启动机器boot2docker-vm退出状态:1

所以,对于你们,这将是一个简单的。我不知道该怎么办。我尝试过 SO 。但是我无法理解解决方案,所以我无法实现。请提供一些建议



编辑:
我希望这将是有帮助的。在BIOS中有一些禁用功能。

  boot2docker -v start 
Boot2Docker-cli版本:v1.4.1
Git commit:43241cb
2014/12/18 16:12:35执行:C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
showvminfo boot2docker-vm --machinereadable
2014/12/18 16:12:35执行:C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
guestproperty set boot2docker-vm / VirtualBox / GuestAdd / SharedFolders / MountPrefix
/
2014/12/18 16:12:36执行:C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
guestproperty set boot2docker-vm / VirtualBox / GuestAdd / SharedFolders / MountDir /
2014/12/18 16:12:36执行:C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
sharedfolder add boot2docker-vm - 名称c /用户--hostpath C:\Users --automount
VBoxManage.exe:错误:命名为c / Users的共享文件夹已存在
VBoxManage.exe:erro r:详细信息:代码VBOX_E_OBJECT_IN_USE(0x80bb000c),componentsen
t SessionMachine,接口IMachine,被调用者IUnknown
VBoxManage.exe:错误:上下文:CreateSharedFolder(Bstr(name).raw(),Bstr(hostp
ath).raw(),fWritable,fAutoMount)在文件的第1009行VBoxManageMisc.cpp
2014/12/18 16:12:36执行:C:\Program Files\Oracle\ VirtualBox \VBoxManage.exe
setextradata boot2docker-vm VBoxInternal2 / SharedFoldersEnableSymlinksCreate / c / U
sers 1
2014/12/18 16:12:36执行:C:\Program Files\\ \\Oracle\VirtualBox\VBoxManage.exe
startvm boot2docker-vm --type headless
等待VMboot2docker-vm开机...
VBoxManage.exe:错误: ** VT-x在BIOS中禁用**(VERR_VMX_MSR_VMXON_DISABLE
D)
VBoxManage.exe:错误:D ** etails:代码E_FAIL(0x80004005)**,组件控制台,int
erface IConsole
2014/12/18 16:12:38执行:C:\Program Files\Oracle\Vir tualBox \VBoxManage.exe
showvminfo boot2docker-vm --machinereadable
运行中的错误:无法启动计算机boot2docker-vm:退出状态1
/ pre>

解决方案

原因:



在您的错误日志中注意

 等待VMboot2docker-vm开机... 
VBoxManage.exe:错误:** VT-x在BIOS中被禁用**(VERR_VMX_MSR_VMXON_DISABLE
D)

这意味着您当前工作站的BIOS设置阻止了CPU上另一个操作系统的虚拟化。 Docker在您的机器上运行虚拟Linux操作系统,所以这是一个问题。



对于英特尔芯片,虚拟化功能通常称为VT-x或类似的东西。对于AMD芯片,虚拟化功能称为AMD-V。我使用像你这样的英特尔芯片,所以这个解决方案属于英特尔芯片。



解决方案:



关闭电源并进入BIOS并启用VT-x。在我的BIOS中,需要更改的联想Thinkpad T440的设置属于安全 - >虚拟化。



启动并返回到您的 C:/ path / to / Boot2Docker for Windows 文件夹。



运行 boot2docker delete 以确保没有运行虚拟机。



运行 boot2docker init 以初始化虚拟机。



运行 boot2docker start 创建一个新的Docker虚拟机!



要访问您的Docker VM,请运行 boot2docker ssh ,因为Docker Client不会在1.5.0版本的Windows上运行。


I am completely new to docker. I have installed it from Source. I am trying to run it from cmd by using boot2docker start. But i get the following

boot2docker start
     Failed to start machine boot2docker-vm <run again with v for details> 

boot2docker init
     virtual machine boot2docker-vm already exists

boot2docker start
     Failed to start machine boot2docker-vm exit status:1

So, For you guys it would be a simple one. I don't know what to do. I tried SO. But i can't able to understand the solution so i failed to achieve it. Please provide some suggestions

EDIT: I hope it will be helpful. There is some thing disabled in bios.

boot2docker -v start
Boot2Docker-cli version: v1.4.1
Git commit: 43241cb
2014/12/18 16:12:35 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
  showvminfo boot2docker-vm --machinereadable
2014/12/18 16:12:35 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
  guestproperty set boot2docker-vm /VirtualBox/GuestAdd/SharedFolders/MountPrefix
  /
2014/12/18 16:12:36 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
  guestproperty set boot2docker-vm /VirtualBox/GuestAdd/SharedFolders/MountDir /
2014/12/18 16:12:36 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
  sharedfolder add boot2docker-vm --name c/Users --hostpath C:\Users --automount
  VBoxManage.exe: error: Shared folder named 'c/Users' already exists
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_IN_USE (0x80bb000c), componen
  t SessionMachine, interface IMachine, callee IUnknown
  VBoxManage.exe: error: Context: "CreateSharedFolder(Bstr(name).raw(), Bstr(hostp
  ath).raw(), fWritable, fAutoMount)" at line 1009 of file VBoxManageMisc.cpp
  2014/12/18 16:12:36 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
  setextradata boot2docker-vm VBoxInternal2/SharedFoldersEnableSymlinksCreate/ c/U
  sers 1
2014/12/18 16:12:36 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
  startvm boot2docker-vm --type headless
  Waiting for VM "boot2docker-vm" to power on...
VBoxManage.exe: error: **VT-x is disabled in the BIOS.** (VERR_VMX_MSR_VMXON_DISABLE
  D)
VBoxManage.exe: error: D**etails: code E_FAIL (0x80004005)**, component Console, int
  erface IConsole
2014/12/18 16:12:38 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
  showvminfo boot2docker-vm --machinereadable
error in run: Failed to start machine "boot2docker-vm": exit status 1

解决方案

Cause:

The nugget of info you need to pay attention to in your error log is

  Waiting for VM "boot2docker-vm" to power on...
  VBoxManage.exe: error: **VT-x is disabled in the BIOS.**(VERR_VMX_MSR_VMXON_DISABLE
  D)

This means that your current workstation's BIOS settings is preventing virtualization of another operating system on your CPU. Docker runs a virtual linux OS on your machine, so this is the issue.

For Intel chips, virtualization features are usually called VT-x or something like that. For AMD chips, virtualization features are called AMD-V. I use an Intel chip like you though, so this solution pertains to Intel chips.

Solution:

Power down and go into your BIOS and enable VT-x. In my BIOS, a Lenovo Thinkpad T440, the setting that needs to be changed was under Security->Virtualization.

Power up and go back to your C:/path/to/Boot2Docker for Windows folder.

Run boot2docker delete to ensure no VMs are running.

Run boot2docker init to initialize the VM.

Run boot2docker start to create a new Docker Virtual Machine!

To get access to your Docker VM, run boot2docker ssh since the Docker Client doesn't run on Windows as of version 1.5.0.

这篇关于Boot2Docker启动失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆