Public | Automated Build

Last pushed: 3 months ago
Short Description
VirtualBox Inside Docker
Full Description

VirtualBox Inside Docker

This project should allow any user to successfully install VirtualBox inside a docker container allowing you to intall any OS virtually inside a virtual containers! Sounds cool right?

Usage

To use this image, you must install and load the Virtualbox driver on the
host, and mount /dev/vboxdrv to the container.

Example:

docker run -v /dev/vboxdrv:/dev/vboxdrv --name=vbox jencryzthers/vboxinsidedocker
Docker Pull Command
Owner
jencryzthers
Source Repository

Comments (4)
ccellist
18 days ago

I had success running the following:

docker run -v /dev/vboxdrv:/dev/vboxdrv -p 50022:22 --name=vbox jencryzthers/vboxinsidedocker

This starts the SSH server listening on port 50022 on your machine. You can test this with

$ ssh -p 50022 root@localhost
(password is 'root' per maintainer of the ubuntu-sshd package this Dockerfile is based on - https://hub.docker.com/r/rastasheep/ubuntu-sshd/).

This should allow you to run cli commands (vboxmanage, etc). If you want to run the X11 app you'll need to pass -X to the ssh command and have some way of displaying X apps locally.

ceebee
7 months ago

Hello. I have succeslfully installed this docker on my synology NAS. However, I am not sure how to proceed now. How do I install an os?

eaglet3d
7 months ago

Would this work with Docker Toolbox on Windows? If so, which file or folder should be shared?

heathsnow
a year ago

I think your example usage should read:
docker run -v /dev/vboxdrv:/dev/vboxdrv --name=vbox jencryzthers/vboxinsidedocker