Dockerfile for Team Fortress 2 server
Find a file
Rui Gonçalves 8786a49546 Merge pull request #1 from luzifer-docker/master
Made some improvements to the Dockerfile
2014-12-14 18:10:56 +00:00
Dockerfile Minimized use of RUN 2014-12-14 16:33:26 +01:00
README.md Added 27015/tcp for RCON 2014-12-14 16:31:25 +01:00
tf.sh Init 2013-11-03 14:45:11 +03:00
tf2_ds.txt Init 2013-11-03 14:45:11 +03:00
update.sh Init 2013-11-03 14:45:11 +03:00

ruippeixotog/tf2-server Docker image

This repository contains the Dockerfile for ruippeixotog/tf2-server, a Docker image containing a dedicated Team Fortress 2 server. The original Dockerfile is from Gonzih and is available here.

This image is built with the autoupdate flag (-autoupdate) enabled, which means the server attempts to auto-update itself when an update comes out.

How to run

You can simply run the image with the default settings:

docker run -d -p 27015:27015/udp ruippeixotog/tf2-server

You can also specify the server settings explicitly:

docker run -d -p 27015:27015/udp ruippeixotog/tf2-server +sv_pure 2 +map \
  ctf_2fort.bsp +maxplayers 32

Ports

  • 27015/udp - The main connection port, allowing clients to connect.
  • 27015/tcp - RCON port to manage server using admin tools