Dockerfile repository for maintaining Planescape MUD Docker images.
Steps you need to build it locally:
- Clone this repository
git clone https://github.com/planescape-mud/planescape_docker.git
cd local
- Build and launch the container, exposing port 4000 to the host. Logs are in /home/planescape/runtime/var/log.
docker build -t planescape/local .
docker run --name planescape -p 4000:4000 -it planescape/local
- Connect to the game:
telnet localhost 4000
Later on, if you want to get a shell access to the running container:
docker exec -it planescape /bin/bash
To restart a stopped container and continue your work:
docker restart planescape
To copy files from your local box to the container, use:
docker cp yourfile.cpp planescape:/home/planescape/planescape_code/src
See main project's Readme on how to rebuild and restart the server or one of its plugins.