Docker container powering nethack.jerryaldrichiii.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Jerry Aldrich 4d4efa35a8 feat: Upgrade NetHack to 3.6.7 3 months ago
.gitignore Initial commit 3 years ago
Dockerfile feat: Upgrade NetHack to 3.6.7 3 months ago
README.md Initial commit 3 years ago
TODO.md Initial commit 3 years ago
dgamelaunch.conf Initial commit 3 years ago
dgl-create-chroot.sh Initial commit 3 years ago
dgl_menu_main_user.txt Initial commit 3 years ago
entrypoint.sh Initial commit 3 years ago
hints.sh Initial commit 3 years ago
sshd_config Initial commit 3 years ago

README.md

nethack-server via dgamelaunch + Docker

Setup

Create SSHD host keys (optional):

mkdir bootstrap
ssh-keygen -N '' -t rsa -f data/sshd_host_keys/sshd_host_rsa_key

Run the server:

docker build . -t replaceme/nethack-server:latest

# These directories will contain your persistent data
mkdir -p data/{dgldir,nethack_var,sshd_host_keys}
sudo chown -R 1000:60 data

docker run -it --rm \
  -p 2222:2222 \
  -v $(pwd)/data/dgldir:/opt/nethack/nethack.jerryaldrichiii.com/dgldir \
  -v $(pwd)/data/nethack_var:/opt/nethack/nethack.jerryaldrichiii.com/nethack/var \
  -v $(pwd)/data/sshd_host_keys:/srv/sshd/host_keys \
  replaceme/nethack-server:latest

Forgive me

This was a weekend project...it could use some work.

See: TODO.md