24 lines
437 B
Markdown
24 lines
437 B
Markdown
|
## steam-tf2
|
||
|
steam-tf2 is the base image for an 'Team Fortress 2' server
|
||
|
|
||
|
### Building steam-tf2
|
||
|
|
||
|
first build the `steam-base` image.
|
||
|
|
||
|
```
|
||
|
docker build -t zombi/steam-tf2 .
|
||
|
```
|
||
|
|
||
|
### Running steam-tf2
|
||
|
|
||
|
```
|
||
|
docker run -dit \
|
||
|
--name tf2-1 \
|
||
|
-p 27015:27015/udp \
|
||
|
-p 27015:27015 \
|
||
|
-v /data/steam-games/:/home/steam/games/ \
|
||
|
zombi/steam-tf2 +sv_pure 1 +map ctf_2fort +maxplayers 24
|
||
|
```
|
||
|
|
||
|
to start up a simple server to capture some flags.
|