Description
docker-gameserver packages LinuxGSM, a command-line tool for deploying and managing dedicated game servers on Linux, as Docker containers. Each container runs one game server, chosen with the image tag, for example cs2 for a Counter-Strike 2 server. The image is rebuilt weekly and published on Docker Hub and the GitHub Container Registry. The first time a container starts, LinuxGSM installs the selected server and starts it, then prints the ports the server needs. Those ports vary by game, so you set them in your docker-compose file after the first run. By default LinuxGSM checks for game server updates every 60 minutes and each time the container starts. You can change that interval, turn scheduled checks off, or skip the update on start with environment variables. The project includes docker-compose and Docker CLI examples and points to linuxgsm.com for the full list of supported games. The repository is open source on GitHub, and it suits people who run their own game servers and want them in containers.…
Highlights
- Runs LinuxGSM dedicated game servers in Docker
- Images rebuilt weekly
- Choose the game with the image tag
- Automatic update checks with a set interval
- docker-compose and Docker CLI examples
Ratings & Reviews
No ratings yet
Be the first to rate Docker Gameserver.
People also visit
Docker Gameserver FAQ
What is docker-gameserver?
A Docker image that runs a LinuxGSM dedicated game server in a container. You pick the game with the image tag.
Which games are supported?
The project refers to linuxgsm.com and its serverlist.csv for the full list. The image tag selects the game, for example cs2.
How do I start a server?
Edit docker-compose.yml to set the image tag and container name for your game, then start the container. LinuxGSM installs the server on the first run.
Do I need to configure ports?
Yes. Each game needs specific ports, which are printed after installation and each time the container starts. Set them in your compose file.
Can I turn off automatic updates?
Yes. Set UPDATE_CHECK to 0 to turn off scheduled checks, or UPDATE_ON_START=false to skip the update when the container starts.
What are the best Docker Gameserver alternatives?
Popular alternatives to Docker Gameserver include CS2, GameAP and WindowsGSM. See all Docker Gameserver alternatives

