# What does --device /dev/vboxdrv:/dev/vboxdrv do?
# Does it write to the host system?
docker run --rm=true --name="container_name" \
--privileged=true --device /dev/vboxdrv:/dev/vboxdrv \
-e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix \
-it \
mpfmedical/virtualbo
# In container:
$ virtualbox
Run virtualbox in docker
· One min read