Sign inSign up

craigrhodes/x11

By craigrhodes

•Updated over 9 years ago

Image
0

890

craigrhodes/x11 repository overview

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"]

Tag summary

Content type

Image

Digest

Size

77.7 MB

Last updated

over 9 years ago

docker pull craigrhodes/x11