A Ubuntu docker image with preinstalled VirtualBox and Vagrant
10K+
A Docker image of Ubuntu with VirtualBox. It's built on top of the Docker
image ubuntu:15.10. It has also Vagrant.
Versions:
Your host should have VirtualBox kernel modules installed and loaded. Of course, it should also support virtualization. The version of the kernel modules should be the same than the ones installed into the guest.
echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" >> /etc/apt/sources.list.d/virtualbox.list
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | apt-key add -
aptitude update; aptitude install virtualbox-5.0
You can mount a specific host dir host_data_dir to the docker container /data dir. This directory will store the Vagrant boxes and VirtualBox Virtual Machines.
$ docker build -t enx/ubuntu-vbox .
$ docker run --device=/dev/vboxdrv --volume=/host_data_dir:/data enx/ubuntu-vbox
Content type
Image
Digest
Size
387.8 MB
Last updated
over 10 years ago
docker pull euranova/ubuntu-vbox