Sign inSign up

mark2dot0/tshock

By mark2dot0

Updated about 5 years ago

Updated to tshock 4.5.5

Image
1

100K+

mark2dot0/tshock repository overview

tShock Docker App

A docker app to run a tShock server for Terraria based on frolvlad/alpine-mono

Startup script borrowed from silvertoken/tshock-docker


Initial run to generate world

This will start the server in interactive mode and allow you to create a world. It mounts all the volumes into directories under the location you specify. As an example you could use some place like /opt/tshock for your file locations.

docker run -it -p 7777:7777 -v <path to config>:/config -v <path to logs>:/logs -v <path to world>:/world -v <path to plugins>:/plugins --name="tshock" mark2dot0/tshock

example usage:

docker run -it -p 7777:7777 -v /opt/tshock/config:/config -v /opt/tshock/logs:/logs -v /opt/tshock/world:/world -v /opt/tshock/plugins:/plugins --name="tshock" mark2dot0/tshock

Autoload world and detach

This command will autoload the world you made above and detach from the process so that it runs in the background.

docker run -dit -p 7777:7777 -v /opt/tshock/config:/config -v /opt/tshock/logs:/logs -v /opt/tshock/world:/world -v /opt/tshock/plugins:/plugins mark2dot0/tshock -world /world/<name of world you made>.wld

Tag summary

Content type

Image

Digest

Size

111.5 MB

Last updated

about 5 years ago

docker pull mark2dot0/tshock