Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 401 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 401 Bytes

Avogadro in a box

export XSOCK=/tmp/.X11-unix
export XAUTH=/tmp/.docker.xauth
touch $XAUTH
xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -

docker run -it --rm \
       --volume=$XSOCK:$XSOCK:rw \
       --volume=$XAUTH:$XAUTH:rw \
       --env="XAUTHORITY=${XAUTH}" \
       --env="DISPLAY" \
       --env="QT_X11_NO_MITSHM=1" \
       ghcr.io/awvwgk/avogadro