• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How to host TFS 1.4.1 as Docker on Unraid

UberLerd

Member
Joined
Dec 24, 2017
Messages
29
Solutions
1
Reaction score
19
Hello everyone,

If you're not aware of what Unraid is, it's a virtualization platform that brings together JBOD storage allocation, docker containerization, and virtual machines into one platform for a low licensing cost.

I spent a significant amount of time trying to discover how to run the latest TFS docker on Unraid so let's get to it!

  1. Log into your Unraid server.
  2. Open a terminal on your Unraid server.
  3. Perform the command for the version of TFS you wish to create a docker for. In this example, we'll be pulling TFS v1.4.1.
Code:
docker pull ghcr.io/otland/forgottenserver/forgottenserver:1.4.1

Once we input the docker pull command, Unraid pulls the docker repository and stores the image ready for use.
Code:
root@storage:~# docker pull ghcr.io/otland/forgottenserver/forgottenserver:1.4.1
1.4.1: Pulling from otland/forgottenserver/forgottenserver
596ba82af5aa: Pull complete
bd79738b8128: Pull complete
5570571f10dc: Pull complete
e3db7e848c3b: Pull complete
d914faa57856: Pull complete
Digest: sha256:3c5eba710c20eff4b7e9f05a485952358de65b6e1379d2a4baa8ac8a865cd5e6
Status: Downloaded newer image for ghcr.io/otland/forgottenserver/forgottenserver:1.4.1
ghcr.io/otland/forgottenserver/forgottenserver:1.4.1

Now that our Unraid server has our desired docker image readily available, we'll head to the Docker menu.
  1. Click Add Container.
  2. Name your new container whatever you like.
  3. In the Repository field, place the same repository from the docker pull command, so in this example we'll put ghcr.io/otland/forgottenserver/forgottenserver:1.4.1
  4. Now click Add another Path, Port, Variable, Label or Device
  5. We'll be adding a Port. Both the Host Port and the Default Value fields will be 7171, with TCP as the connection type.
  6. Add another Port, this time both the Host Port and Default Value fields will be 7172, with TCP as the connection type.
  7. Click Add another Path, Port, Variable, Label or Device one more time, and this time we'll be adding a path to tell the docker where we'll be storing our server data.
  8. Set the Container Path as /srv and the Host Path as wherever you want to keep your server's data directory and config file. I'll be using /mnt/user/appdata/otserv/ as the appdata directory is where most dockers on Unraid keep their information.
    • You new container setup page should look similar to this now. Some differences on container name, networking information, or server data directory are perfectly acceptable.
    • Screen Shot 2022-05-17 at 4.38.28 PM.png
  9. Click Apply.
Congratulations you now have a TFS v1.4.1 server running on Unraid!

Code:
Don't forget you need the data directory and config.lua to make the server function.

You can get them at https://github.com/otland/forgottenserver/releases/tag/v1.4.1
 
Last edited:
Back
Top