Add sample run; I needed .Xauthority & hostname

This commit is contained in:
Brian Carcich 2020-06-11 07:20:43 -04:00 committed by GitHub
parent 573af5dd58
commit a7817ef3a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,14 @@
# Run gnuplot in a container
# docker run -d \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# -v $HOME/.Xauthority:/root/.Xauthority \
# --hostname $(hostname) \
# --name gnuplot \
# jess/gnuplot
#
FROM alpine:latest FROM alpine:latest
LABEL maintainer "Jessie Frazelle <jess@linux.com>" LABEL maintainer "Jessie Frazelle <jess@linux.com>"