Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bateau84 committed Jan 21, 2016
1 parent 369699c commit 2528c7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ For other save games use

-e "loadgame=true" -e "savename=your/save/game.sav"

To mount up your .openttd folder use
Config files is located under /home/openttd/.openttd. To mount up your .openttd folder use

-v /path/to/your/.openttd:/root/.openttd
-v /path/to/your/.openttd:/home/openttd/.openttd

For example to run server and load my savegame game.sav:

docker run -d --name openttd -p 3979:3979/tcp -p 3979:3979/udp -v /home/username/.openttd:/root/.openttd -e PUID=1001 -e PGID=1000 -e "loadgame=true" -e "savename=game.sav" bateau/openttd:latest
docker run -d --name openttd -p 3979:3979/tcp -p 3979:3979/udp -v /home/<your_username>/.openttd:/home/openttd/.openttd -e PUID=<your_userid> -e PGID=<your_groupid> -e "loadgame=true" -e "savename=game.sav" bateau/openttd:latest

## Other tags ##
* 1.5.3
Expand Down

0 comments on commit 2528c7f

Please sign in to comment.