terraria/README.md
Knut Ahlers 1c5ee42f5c
Improve image, add command wrapper
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-08 12:34:37 +02:00

25 lines
794 B
Markdown

# luzifer-docker/terraria
This image contains a [Terraria](http://terraria.org/) 1.3.5.3 server with automatic world generatation and the possibility to store / inject a world using a Docker mount
## How to run
You can simply run the image with the default settings:
```console
$ docker run -d --name=terraria -p 7777:7777 luzifer/terraria
```
If you want the world to persist you can mount a volume into the container:
```console
$ docker run -d --name=terraria -p 7777:7777 -v ~/terraria:/data luzifer/terraria
```
### Interacting with the server command line
In case you want to use the [console commands](https://terraria.gamepedia.com/Server#List_of_console_commands) on the Terraria server this image has a helper for you:
```console
$ docker exec terraria terraria_cmd save
```