Skip to content

slatinsky/docker-virtualbox-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Docker Desktop <--> VirtualBox switcher

A set of batch scripts (for Windows) to switch between Docker desktop and VirtualBox.

Assuming you have WSL 2, Docker Desktop and VirtualBox installed.

switchToDockerDesktop.bat

  • Asks for elevated privileges
  • Disables Hyper-V
  • Enables Virtual Machine platform
  • Reboots the computer

Windows features

After running the script:

  • WSL 2 will work

Windows features

  • Docker Desktop will work

Windows features

  • VirtualBox will work (very slowly) without hardware acceleration (green turtle)

Windows features

switchToVirtualBox.bat

  • Asks for elevated privileges
  • Disables Hyper-V
  • Disables Virtual Machine platform
  • Reboots the computer

Windows features

After running the script:

  • WSL 2 will not work

Windows features

  • Docker Desktop will not work

Windows features

  • VirtualBox will work with hardware acceleration (Blue V logo)

Windows features

About

Quickly switch between Docker desktop (WSL 2) and Virtual box on Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published