docker开机启动失败_Boot2Docker启动失败

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

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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值