JavaPythonTech blog contains various tools and skills for a developer. Java/Python Best Practices, Tools, Examples, Programming interview questions.

How to switch between Oralce VM VirtualBox and Docker on Windows 10


If you are wondering how to switch between Oracle VM VirtualBox and Docker on Windows 10, you can follow the below steps to find out how you achieve the same.

To start using Oracle VM VirtualBox:

  • Open the Command Prompt as Administrator. 
          Right Click on Command Prompt > More > Run as administrator
  • Execute “bcdedit” command

          If you observe the last line in the above snapshot, hypervisorlaunchtype is set to Auto.
  • For you to be able to use VirtualBox, hyper-V has to be disabled. To do this, execute the below command.
          bcdedit /set hypervisorlaunchtype off

  • Verify that hypervisorlaunchtype is set to off

  • Restart your PC/laptop for the changes to take effect.
  • You should be able to use VirtualBox after restart.



To start using Docker:

  • Open the Command Prompt as Administrator.
         Right Click on Command Prompt > More > Run as administrator
  • Execute “bcdedit” command

           If you observe the last line in the above snapshot, hypervisorlaunchtype is set to off.
  • For you to be able to use VirtualBox, hyper-V has to be enabled. To do this, execute the below command.
            bcdedit /set hypervisorlaunchtype auto

  • Verify that hypervisorlaunchtype is set to auto
  • Restart your PC/laptop for the changes to take effect.
  • You should be able to use Docker after restart.

Share:

No comments:

Post a Comment

Announcements

Will be posting twice a week on latest java libraries/frameworks which a developer needs to know in 2019.
Also will add the common errors and resolutions for the same.

Please feel free to comment if you need anything specific.

Recent Posts

Popular Posts

Search This Blog

Blog Archive

Powered by Blogger.

Contributors

Pages