LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 03-23-2021, 04:51 AM   #1
Shanmeister
LQ Newbie
 
Registered: Sep 2019
Location: South Africa, Cape Town
Distribution: Ubuntu 18.04
Posts: 6

Rep: Reputation: Disabled
Smile Running WSL and Oracle Virtual Box - Hypervisor issue


Hi all,

This is my 1st thread, hope I am adding it to the right section

I recently started a new job and my primary OS at the moment is Windows 10 for work purposes. I am branching out to start doing a bit of DevOps and was recommended to try Windows Subsystem Linux for setting my light Linux distros and Docker for Windows to run with WSL 2. Unfortunately, I'm running Oracle Virtual Box as well with another Win 10 VM that is configured for work use and this is where my problem comes in.

Hypervisor is causing issues having me utilize both Virtual Box as well as Hyper-V at the same time. Running WSL 2 causes Virtual Box VM to slow heavily, Hypervisor disabled to combat this prevents WSL from running. I have tried to configure both to manage resources accordingly but they can't function together. I recently had the ram upgraded to compensate for the memory and cpu throttling usage which made the machine perform a bit better, but the core issue still remains.

My only workaround at the moment is to enable and disable Hypervisor and Hyper-V whenever I need to use one of the 2 but I have to reboot my machine every time I apply the change.

If anyone has any advice or a workaround for this issue it would be greatly appreciated thank you Please let me know if you need any additional system info
 
Old 03-24-2021, 01:47 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I suggest you ask this question in a Windows forum.
 
Old 03-24-2021, 02:32 AM   #3
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Been a while since I used Hyper-V. Are you not able to export the VDI from VirtualBox in a format that is compatible with Hyper-V and import it? It would eliminate the need to use VirtualBox altogether. Unless I am missing something?

No installation or setup, just import and start.
 
1 members found this post helpful.
Old 03-24-2021, 02:33 AM   #4
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Welcome to LQ by the way!
 
Old 03-24-2021, 03:16 AM   #5
Shanmeister
LQ Newbie
 
Registered: Sep 2019
Location: South Africa, Cape Town
Distribution: Ubuntu 18.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Gad View Post
Welcome to LQ by the way!
Thank you for the warm welcome! I have not thought about exporting the VDI to Hyper-V but I'm working with limited space usage, so the only option I can think of to make it work is running off an external drive using a Linux distro VM on Virtual Box as my physical storage is limited and I'm already using 60gb for the VM I'm running on a 256gb SSD.

P.S I tried to click "Add to reputation" but I may be blind as a bat as I can't find the radio/icon button to do so :P
 
Old 03-24-2021, 03:19 AM   #6
Shanmeister
LQ Newbie
 
Registered: Sep 2019
Location: South Africa, Cape Town
Distribution: Ubuntu 18.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
I plan to use Docker for most of what I will be doing with some cloud integration but I although configuring the containers are lightweight I need to take into consideration other utilities I may need for future use
 
Old 03-24-2021, 03:37 AM   #7
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Sounds like you may be using a laptop so adding another internal HDD to the system in not an option. You could export the VDI to the external, run a test mount on Hyper-V and when you are satisfied that it works delete the old Vbox data altogether. Plenty of options to play around with. I guess it would be a matter of choosing which option would best suite your needs.
 
Old 04-27-2021, 08:07 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,691
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
Guess you have a choice. Unfortunately you have only one choice, since the underlying CPU has only one set of "virtualization support" facilities.

"... was recommended to try [...]Docker for Windows to run with [...]. Unfortunately, I'm running Oracle Virtual Box"

"Docker for Windows" in fact runs an entire [Linux ...] hypervisor" of its own. It does so with the full intention of "concealing the magic, as much as possible," and it is certainly not wrong in doing so. But, right now, you really need to educate yourself as to exactly what the Microsoft engineers did. You are not technically at liberty to run another hypervisor – neither VirtualBox nor anything else – alongside their hypervisor. The hardware allows the presence of only one.

Last edited by sundialsvcs; 04-27-2021 at 08:09 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Xen Project Hypervisor: Virtualization and Power Management are Coalescing into an Energy-Aware Hypervisor LXer Syndicated Linux News 0 07-11-2018 06:59 PM
LXer: Reversal on Google vs. Oracle Case, Microsoft Open Sources WSL for Linux Distro Maintainers, New Acer Chromebook Tab 10 and More LXer Syndicated Linux News 0 03-29-2018 04:10 AM
LXer: Xen hypervisor: Assign Virtual Disk to a Virtual Machine LXer Syndicated Linux News 0 07-23-2014 03:32 PM
Issue faced while installing Linux in virtual machine in Oracle virtual box ravisingh1 Linux - Virtualization and Cloud 5 04-07-2013 10:42 AM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration