docker-sourceservers
Source / Goldsource dedicated server images built through use of steamcmd. π³
File Explorer
Download Latest Version (.zip)- config.yml
- Generate-GameImageRepositoryReadme.ps1
- ci-master-pr.yml
- release-drafter.yml
- Dockerfile
- hlds-cstrike.md
- hlds-czero.md
- hlds-dmc.md
- hlds-dod.md
- hlds-gearbox.md
- hlds-ricochet.md
- hlds-tfc.md
- hlds-valve.md
- srcds-cs2.md
- srcds-csgo.md
- srcds-cstrike.md
- srcds-dod.md
- srcds-hl2mp.md
- srcds-left4dead.md
- srcds-left4dead2.md
- srcds-tf.md
- docker-compose.bash-c.yml
- docker-compose.binary.yml
- build-hlds-cstrike.env
- build-srcds-hl2mp.env
- hlds-cstrike
- hlds-czero
- hlds-dmc
- hlds-dod
- hlds-gearbox
- hlds-ricochet
- hlds-tfc
- hlds-valve
- srcds-cs2
- srcds-cs2-query
- srcds-csgo
- srcds-cstrike
- srcds-dod
- srcds-hl2mp
- srcds-left4dead
- srcds-left4dead2
- srcds-tf
- test-game-image-game-version.sh
- test-game-image.sh
- update-hlds-cstrike.env
- update-srcds-hl2mp.env
- Dockerfile
- .gitignore
- .gitlab-ci.yml
- .travis.yml
- azure-pipelines.yml
- build.sh
- games.json
- Generate-GitBranches.ps1
- Generate-GitBranches.Tests.ps1
- LICENSE
- notify.sh
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/startersclan/docker-sourceservers
Downloads the entire project code from GitHub to your computer.
cd docker-sourceservers
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker run -it --rm -p 27015:27015/tcp -p 27015:27015/udp sourceservers/cs2:latest 'game/bin/linuxsteamrt64/cs2 -dedicated -port 27015 +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2'
Runs the built image as an actual container.
docker run -it --rm -p 27015:27015/tcp -p 27015:27015/udp sourceservers/cs2:latest 'printenv && ls -al && exec game/bin/linuxsteamrt64/cs2 -dedicated -port 27015 +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2'
Runs the built image as an actual container.
docker run -it --rm -p 27015:27015/tcp -p 27015:27015/udp --entrypoint game/bin/linuxsteamrt64/cs2 sourceservers/cs2:latest -dedicated -port 27015 +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2
Runs the built image as an actual container.
docker run -it --rm -p 27015:27015/tcp -p 27015:27015/udp --entrypoint /bin/bash sourceservers/cs2:latest -c 'printenv && ls -al && exec game/bin/linuxsteamrt64/cs2 -dedicated -port 27015 +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2'
Runs the built image as an actual container.
docker run -it --rm -p 27016:27016/tcp -p 27016:27016/udp sourceservers/csgo:latest 'srcds_linux -game csgo -port 27016 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2'
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
