diff --git a/Dockerfile b/Dockerfile index 8170415c..c9b91762 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ WORKDIR /opt/mud/hexagon RUN mv .config.dgd ../bin/config.dgd RUN chmod +x start.sh -ENTRYPOINT ./start.sh & /bin/bash +ENTRYPOINT ./start.sh # expose telnet mudos port EXPOSE 5000/tcp diff --git a/docs/install/docker/readme.md b/docs/install/docker/readme.md index 06d93725..e3daa07d 100644 --- a/docs/install/docker/readme.md +++ b/docs/install/docker/readme.md @@ -21,11 +21,11 @@ And having access to some kind of command-line terminal. 2. Run the container in background: - `docker run --rm -td -p 23:5000 ghcr.io/maldorne/hexagon:latest` + `docker run --rm -d -p 23:5000 --name hexagon ghcr.io/maldorne/hexagon:latest` - Or run the container in interactive mode: +3. Connect to the container if needed: - `docker run --rm -ti -p 23:5000 ghcr.io/maldorne/hexagon:latest` + `docker exec -it hexagon bash` If you make changes to the image, push it after building it: