Virtualization inside a virtualizer, discussions
-
- 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
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?
-
- Site Moderator
- Posts: 20965
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Virtualization inside a virtualizer, discussions
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.
-
- Posts: 134
- Joined: 7. Feb 2010, 23:41
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Ubuntu Linux, Windows
Re: Virtualization inside a virtualizer, discussions
Docker is NOT A VIRTUALIZATION. It is an ISOLATION. See the note above about LXC.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?
Re: Virtualization inside a virtualizer, discussions
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: Not In VirtualBox:
This feature works perfect in VMWare: Not In VirtualBox:
-
- Volunteer
- Posts: 2560
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Virtualization inside a virtualizer, discussions
So what's new? We already know that this feature doesn't exist in Vbox.
-
- Volunteer
- Posts: 1003
- Joined: 5. Sep 2008, 14:40
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
- Contact:
Re: Virtualization inside a virtualizer, discussions
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 onMartin wrote:So what's new? We already know that this feature doesn't exist in Vbox.
-
- Volunteer
- Posts: 2560
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Virtualization inside a virtualizer, discussions
Features are added when a commercial customer pays for them, or when volunteers donate the code... ![Wink ;)](./images/smilies/icon_wink.gif)
![Wink ;)](./images/smilies/icon_wink.gif)