Description
This is a Docker image that runs a dedicated Counter-Strike 2 server. The README gives two image locations, Docker Hub and the GitHub Container Registry. You can start it with a single docker run command, add a bind mount so the server data survives when the container is recreated, or use the docker-compose examples in the README. The container updates the game automatically on startup, so after a game update you only need to restart it. The minimum requirements are 2 CPUs, 2 GiB of RAM and 60 GB of disk space, either for the container or for a persistent volume at /home/steam/cs2-dedicated/, with more space needed if you install mods. Configuration is done with environment variables for the server name, game modes, bots, CSTV/SourceTV, logs and Steam Workshop support. The README notes that slashes in Counter-Strike variables must be escaped as backslash and slash, and that if you set CS2_RCON_PORT you must also map that port over TCP. The project is public on GitHub.…
Highlights
- Dedicated Counter-Strike 2 server in Docker
- Updates the game on container start
- Configuration through environment variables
- Persistent storage and Steam Workshop support
Ratings & Reviews
No ratings yet
Be the first to rate CS2.
People also visit
CS2 FAQ
What is this image?
A Docker image that runs a Counter-Strike 2 dedicated server.
What do I need to run it?
At least 2 CPUs, 2 GiB of RAM and 60 GB of free disk space.
How are game updates handled?
The container updates the game on startup, so restart the container when there is an update.
How do I configure the server?
With environment variables, set with -e or in docker-compose. Slashes in Counter-Strike variables must be escaped.
Do I need to open a port for RCON?
If you set CS2_RCON_PORT, map that port over TCP as well, for example -p 27050:27050/tcp.
What are the best CS2 alternatives?
Popular alternatives to CS2 include Docker Gameserver, Steam Headless and Calagopus. See all CS2 alternatives



