TeamFortress2

TeamFortress2

Docker app from ich777's Repository

Overview

This Docker will download and install TeamFortress2 and run it. It will also install SteamCMD (you can have multiple installations with only one steamcmd directory, check out my other containers). ATTENTION: First Startup can take very long since it downloads the game server files! PUBLIC PLAY: If you want that your server is public listed you must add '+sv_setsteamaccount YOURTOKEN' to the GAME_PARAMS (without the quotes and replace YOURTOKEN with your token). Create your token here: https://steamcommunity.com/dev/managegameservers (every gameserver needs it's own token!!!) Update Notice: Simply restart the container if a newer version of the game is available. You can also run multiple servers with only one SteamCMD directory!

Runtime arguments

Network
bridge
Shell
bash
Privileged
false
Extra Params
--restart=unless-stopped

Template configuration

SteamCMDPathrw

Container Path: /serverdata/steamcmd

Target
/serverdata/steamcmd
Value
/mnt/user/appdata/steamcmd
ServerFilesPathrw

Container Path: /serverdata/serverfiles

Target
/serverdata/serverfiles
Value
/mnt/cache/appdata/tf2
GAME_IDVariable

The GAME_ID that the container download at startup. (https://developer.valvesoftware.com/wiki/Dedicated_Servers_List)

Value
232250
GAME_NAMEVariable

Game name to start (is connected to the GAME_PARAMS).

Value
tf
GAME_PARAMSVariable

Enter your start up commands for the server.

Value
+sv_pure 1 +randommap +maxplayers 24
TCP RCONPorttcp

TCP RCON Port (not required)

Target
27015
Value
27015
UDPPortudp

UDP Gameport (if you need another port, please delete this entry and create a new UDP Port with the required port number, also don't forget to click an 'Show more settings ...' and change the port number

Target
27015
Value
27015
Validate InstallationVariable

Set the Variable to 'true' if you want to validate the installation otherwise leave it blank.

Target
VALIDATE
GAME_PORTVariable

Container Variable: GAME_PORT

Value
27015
UIDVariable

Container Variable: UID

Value
99
GIDVariable

Container Variable: GID

Value
100

Categories

Download Statistics

6,558,830
Total Downloads
27,630
This Month
25,838
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
ghcr.io/ich777/steamcmd:tf2
Last Updated2026-02-03
First Seen2019-04-22

Run TeamFortress2 on Unraid.

TeamFortress2 is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.