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.
|
3 months ago | |
---|---|---|
.gitignore | 3 years ago | |
Dockerfile | 3 months ago | |
README.md | 3 years ago | |
TODO.md | 3 years ago | |
dgamelaunch.conf | 3 years ago | |
dgl-create-chroot.sh | 3 years ago | |
dgl_menu_main_user.txt | 3 years ago | |
entrypoint.sh | 3 years ago | |
hints.sh | 3 years ago | |
sshd_config | 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