Merge pull request #2790 from justincormack/vbox

Add VirtualBox support to linuxkit run
This commit is contained in:
Justin Cormack
2017-12-02 11:01:51 +00:00
committed by GitHub
3 changed files with 302 additions and 0 deletions

30
docs/platform-vbox.md Normal file
View File

@@ -0,0 +1,30 @@
# LinuxKit with VirtualBox
LinuxKit can run using Oracle VirtualBox. This should work on OSX, Linux
and Windows. The standard install should be sufficient.
NB: Windows support is not currently working but should be fixed soon.
## Boot
The Virtualbox backend currently supports booting from disks or ISOs.
It should work with either BIOS (default) or EFI
(with `linuxkit run vbox --uefi ...`).
## Console
With `linuxkit run vbox` the serial console is redirected to
stdio, providing interactive access to the VM.
## Disks
The Virtualbox backend support configuring a persistent disk using the
standard `linuxkit` `-disk` syntax. Multiple disks are
supported and can be created in `raw` format; other formats that VirtualBox
supports can be attached
## Networking
You can select the networking mode, which defaults to the standard `nat`, but
some networking modes may require additional configuration.