# Run virtualbox in a container # # docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ # -e DISPLAY=unix$DISPLAY \ # jess/virtualbox # FROM debian:jessie MAINTAINER Jessie Frazelle RUN apt-get update && apt-get install -y \ ca-certificates \ curl \ software-properties-common \ --no-install-recommends && \ curl -sSL https://www.virtualbox.org/download/oracle_vbox.asc | apt-key add - && \ echo "deb http://download.virtualbox.org/virtualbox/debian jessie contrib" >> /etc/apt/sources.list.d/virtualbox.list && \ apt-get update && \ apt-get install -y \ virtualbox ENTRYPOINT [ "/usr/bin/virtualbox" ]