Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Readme update example (#28)
Browse files Browse the repository at this point in the history
fixed volume mapping in docker run example.
  • Loading branch information
BBBosp authored Mar 24, 2021
1 parent b9f6588 commit 3e0a66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ This will work both on linux and Docker for Windows. With Docker for Windows, sk

```bash
$ mkdir -p /path/to/lgsm && sudo chown -R 750:750 /path/to/lgsm
$ docker run -d --name lgsm-docker --restart always --net=host --hostname LGSM -it -v "/path/to/lgsm:/home/lgsm/" gameservermanagers/linuxgsm-docker
$ docker run -d --name lgsm-docker --restart always --net=host --hostname LGSM -it -v "/path/to/lgsm:/home/linuxgsm/" gameservermanagers/linuxgsm-docker
```
To expose multiple game ports for your server use the format `-p <start-stop>:<start-stop>`. For example `docker run -d --name <server name> -p 12203-12204:12203-12204 --restart-always --net=host gameservermanagers/linuxgsm-docker `

0 comments on commit 3e0a66c

Please sign in to comment.