Virtualization inside a virtualizer, discussions

This is for discussing general topics about how to use VirtualBox.

Re: Virtualization inside a virtualizer, discussions

Postby Matei » 13. Jan 2016, 19:31

This is an old thread, but I wanted to point out for reference what seems to me a legitimate use case of virtualization inside virtualization not mentioned in here, which is: running Docker inside a Windows VM (which, I understand, uses VBox under the hood). The motivation would be using a purely Linux host to test the deployment of Linux-based software to Windows indirectly via Docker. Is this currently possible?
Matei
 
Posts: 4
Joined: 20. Apr 2015, 21:27
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Linux

Re: Virtualization inside a virtualizer, discussions

Postby scottgus1 » 13. Jan 2016, 20:08

To the extent that one stays within the available capabilities. VT-x/AMD-V does not get through the first guest to be used in the second guest. So any 2nd-layer guest that requires VT-x/AMD-V will not run. Single processors only, no 64-bit, no 32-bit-requiring-VT-x. Older 32-bit may run but may (will?) be slow. Suitability for testing may be slim.
running version 5.1.6 & 5.0.24
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
 
Posts: 3455
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: XP SBS2003 Win7

Re: Virtualization inside a virtualizer, discussions

Postby AnrDaemon » 15. Mar 2016, 23:45

Matei wrote:This is an old thread, but I wanted to point out for reference what seems to me a legitimate use case of virtualization inside virtualization not mentioned in here, which is: running Docker inside a Windows VM (which, I understand, uses VBox under the hood). The motivation would be using a purely Linux host to test the deployment of Linux-based software to Windows indirectly via Docker. Is this currently possible?

Docker is NOT A VIRTUALIZATION. It is an ISOLATION. See the note above about LXC.
AnrDaemon
 
Posts: 96
Joined: 7. Feb 2010, 23:41
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu Linux

Re: Virtualization inside a virtualizer, discussions

Postby IAX » 18. Mar 2016, 22:20

I can't believe this hasn't been issued. A use case is to have a Guest Linux VM and you want to test with vagrant some configurations with multiple machines, and test ansible playbooks.

This feature works perfect in VMWare:
VMWare VM.jpg
VMWare
VMWare VM.jpg (103.06 KiB) Viewed 1637 times


Not In VirtualBox:
VirtualBox VM.jpg
VirtualBox
VirtualBox VM.jpg (117.2 KiB) Viewed 1637 times
IAX
 
Posts: 1
Joined: 18. Mar 2016, 21:59

Re: Virtualization inside a virtualizer, discussions

Postby Martin » 18. Mar 2016, 22:21

So what's new? We already know that this feature doesn't exist in Vbox.
Martin
Volunteer
 
Posts: 1823
Joined: 30. May 2007, 18:05
Primary OS: Fedora 18
VBox Version: PUEL
Guest OSses: XP, Win7, Linux, OS/2

Re: Virtualization inside a virtualizer, discussions

Postby sej7278 » 16. Dec 2016, 21:23

Martin wrote:So what's new? We already know that this feature doesn't exist in Vbox.


well it kind of did in 4.x (i ran esxi under vbox until 5.0) and as it seems like the only logical feature left to implement, it would seem like a nice thing for vbox 5.2, actual functionality rather than copy'n'paste or broken audio like 5.1 has focused on
sej7278
Volunteer
 
Posts: 991
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD

Re: Virtualization inside a virtualizer, discussions

Postby Martin » 16. Dec 2016, 22:42

Features are added when a commercial customer pays for them, or when volunteers donate the code... ;)
Martin
Volunteer
 
Posts: 1823
Joined: 30. May 2007, 18:05
Primary OS: Fedora 18
VBox Version: PUEL
Guest OSses: XP, Win7, Linux, OS/2

Previous

Return to Using VirtualBox

Who is online

Users browsing this forum: Leni and 18 guests