Raft Dedicated Server
  • Introducing Raft Dedicated Servers
    • Introducing RTCP (Our custom networking layer)
  • Tutorials
    • Windows: Installing your server
    • Linux: Installing your server
      • GUI based distro: Installing your server
      • CLI based Distro: Installing your server
    • Pterodactyl: Installing your Server
    • Docker: Installing your Server
    • Configuring your server
    • Managing Player Permissions
    • How to create a plugin project
      • How to load my plugin
  • Programming
    • Creating chat commands
    • Creating console commands
    • Player Permissions
Powered by GitBook
On this page
  • Requirements:
  • Creating the container:
  • Running the container
  1. Tutorials

Docker: Installing your Server

Installing a Raft Dedicated Server in Docker is very straightforward and allows you to run the Server in a Containerized Environment so you don't have to worry about compatibility and OS dependencies.

PreviousPterodactyl: Installing your ServerNextConfiguring your server

Last updated 25 days ago

This currently only works if you use the beta version of Raft and the indev version of RDS. Once the beta version of Raft releases this will work you will be able to switch back to the Raft stable branch as well as the public RDS branch!

Requirements:

  • An Installation of Docker

  • Some knowledge on how to use Docker is recommended but not necessary to follow the guide

Creating the container:

  1. Pull the docker image using docker pull ghcr.io/franzfischer78/raftmodding-rds:latest

  2. There are multiple ways you can now work with Files inside of docker. We recommend that you mount a local directory into the Docker Container to make things easier. Prepare a local directory where you will put all your RDS related files into. The RaftDedicatedServer.exe is the only file you need to add as the Game will be downloaded through steamcmd if necessary (this only works if you set the environment variables for steam in the run command). If you do not wish to use the automatic download you can place the game files manually into that directory.

Running the container

Run the container using the following command:

docker run -v /path/to/local/dir:/home/container -e STARTUP="updateboth" ghcr.io/franzfischer78/raftmodding-rds:latest

docker run -v /path/to/local/dir:/home/container -e STEAM_USER="YourSteamUser" -e STEAM_PASS="YourSteamPassword" -e STEAM_AUTH="EmailSteamCode" -e STARTUP="updateboth" ghcr.io/franzfischer78/raftmodding-rds:latest

The Steam auth code is the code you get by e-mail if 2fa is enabled. If you use the mobile app, you can confirm the login through the confirmations page (so you do not need to add the STEAM_AUTH environment variable to the run command).

Set the startup environment variable to whatever fits your needs: - normal : no updating - updategame: update Raft - updateserver: update RDS - updateboth: update RDS and Raft

The STEAM_USER, STEAM_PASS and STEAM_AUTH variables are only used if you want the software to automatically update the game, therefore you do not need to set these if you don't need to update the game or if you wish to manage that yourself

If you start the Server now you should be greeted with the following:\

Restart the Server and everything should be running!

Head into your RDS folder and edit the following file with your preferred text editor for example nano or vim: nano RDS_Data/config/rds_config.ini Make sure to set the RDS Master Key. You can obtain it from our . Also make sure to set the UpdateBranch to indev.

master website