Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
235 views
in Technique[技术] by (71.8m points)

Docker + Virtual Box = VT-x is not available (VERR_VMX_NO_VMX)

I installed docker. During installation, it complained that you can't have two virtualization environments, and that it would make docker the primary one. I said: "OK."

Now, I need to go back to enabling virtualbox. I uninstalled Docker, hoping it would put things back the way they were, but: no joy.

How do I re-enable virtualization for VirtualBox now that docker is gone?

Note: Virtualization bit is set / enabled on the chip.

OS: Win10 Enterprise.

question from:https://stackoverflow.com/questions/41128258/docker-virtual-box-vt-x-is-not-available-verr-vmx-no-vmx

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Virtualbox will get upset and not run if Microsoft Hyper-V is enabled.

Here's the solution:

  1. Open command prompt as administrator
    • search for 'command'
    • right-click then select 'run as administrator'
  2. paste the following command:

    dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
    
  3. Then reboot.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...