Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
233 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 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...