Public Repository

Last pushed: 9 months ago
Short Description
Short description is empty for this repo.
Full Description

To support x11, you only need to install xauth for the client.

To run, you MUST use the following flags to docker run (works for Linux machines only):
-e DISPLAY
This runs the container with your DISPLAY variable as the value of the DISPLAY variable inside the container.

-v /tmp/.X11-unix:/tmp/.X11-unix
This mounts the /tmp/.X11-unix socket on the host machine inside the container

NOTE:

  • You may also need to modify xhost permissions on the host machine for this to work properly.

Dockerfile:
FROM ubuntu:16.04
ENV DISPLAY :0
RUN apt-get -y update && apt-get -y install xauth
ENTRYPOINT ["/bin/bash"]

Docker Pull Command
Owner
craigrhodes