NOTE: This image will always install/update to the latest steamcmd and 7 Days to Die server, all you have to do to update your server is to redeploy the container.
Also note that the entire /steamcmd/7dtd can be mounted on the host system.
- Set the
SEVEN_DAYS_TO_DIE_SERVER_STARTUP_ARGUMENTS
environment variable to match your preferred server arguments (defaults are set to"-configfile=server_data/serverconfig.xml -logfile /dev/stdout -quit -batchmode -nographics -dedicated"
, note how we're logging to stdout) - Optionally mount
/steamcmd/7dtd
somewhere on the host or inside another container to keep your data safe - Run the container and enjoy!
Note that you should also enable telnet and optionally modify the SEVEN_DAYS_TO_DIE_TELNET_PORT
and SEVEN_DAYS_TO_DIE_TELNET_PASSWORD
environment variables accordingly, so the container can properly send the shutdown command to the server when the proper signal has been received (it uses telnet for this).