#!/bin/bash NETHACK_DIR=/home/admin/nethack-server/savedata sudo docker run \ -d \ -p 23:23 \ -v $NETHACK_DIR/var:/opt/nethack/nethack.alt.org/nh343/var:rw \ -v $NETHACK_DIR/dgldir:/opt/nethack/nethack.alt.org/dgldir:rw \ --name=nethack \ nethack-server #--user 5:60 \ #-v $NETHACK_DIR/var:/opt/nethack/nethack.alt.org/nh343/var:rw \ #-v $NETHACK_DIR/dgldir:/opt/nethack/nethack.alt.org/dgldir:rw \ #-v /tmp/nethack:/tmp/nethack:rw \ #--mount type=bind,source=$NETHACK_DIR/dgldir,target=/opt/nethack/nethack.alt.org/dgldir \ #--mount type=bind,source=$NETHACK_DIR/var,target=/opt/nethack/nethack.alt.org/nh343/var \