Docker image i386/debian 10 for running Counter Strike: Source v34 Server
1.4K
This image for running a Counter-Strike: Source v34 game server. The server runs inside a screen session, making it easy to manage and connect to the server console when needed.
Create a docker-compose.yaml file with the following content:
services:
srcds-cssv34:
image: phenom1337/cssold_srcds_cssv34:latest
restart: unless-stopped
deploy:
resources:
limits:
cpus: '1.0'
memory: 2048M
ports:
- "27015:27015"
- "27015:27015/udp"
volumes:
- ./server:/home/container
command: >
sh -c "screen -A -m -d -S srv ./srcds_run -game cstrike +map de_dust2 -ip 0.0.0.0 -port 27015 +tv_port 27016 -maxplayers 13 +sv_pure 2 -insecure -debug -condebug -localcser -nomaster -tickrate 100 -fps_max 500 -usercon; while true; do sleep 1; done"
docker compose up -d
docker compose exec srcds-cssv34 screen -x srv
Press the keyboard shortcut: Ctrl + A + D
your-server-ip:27015../server directory on your host machine.docker compose down
Ports:
27015: The server listens on this port for both TCP and UDP traffic.Volumes:
./server:/home/container: Maps the ./server directory on your host to the container's working directory for persistent storage.Resource Limits:
Command:
The server runs inside a screen session for easy management.
Key server parameters:
+map de_dust2: Starts the server with the de_dust2 map.-maxplayers 13: Sets the maximum number of players to 13.-tickrate 100: Sets the server tickrate to 100.-fps_max 500: Limits the server FPS to 500.-insecure: Disables VAC (Valve Anti-Cheat) for compatibility with certain mods.-nomaster: Prevents the server from appearing in the public server list.Change the Map: Replace de_dust2 with another map in the command section.
Adjust Player Limit: Modify the -maxplayers value.
Modify Server Configuration: Edit the files in the ./server directory after the first run.
Ensure Docker and Docker Compose are installed on your system. Replace your-server-ip with the actual IP address of your server. For advanced configurations, refer to the Counter-Strike: Source documentation.
This setup provides a simple and efficient way to run a Counter-Strike: Source v34 server with Docker. Enjoy your gaming experience! 🎮
Content type
Image
Digest
sha256:d59727a72…
Size
115.7 MB
Last updated
over 1 year ago
docker pull phenom1337/cssold_srcds_cssv34