Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5
🐋 📦 Half-Life Dedicated Server powered by Docker, supporting all the classic GoldSrc Half-Life games and mods-including Counter-Strike 1.6, Team Fortress Classic, Day of Defeat and more. Easily extendable with custom configurations and plugins.
License
JamesIves/hlds-docker
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Half-Life Dedicated Server powered byDocker, supporting all the classicGoldSrc Half-Life games and mods-including Counter-Strike 1.6, Team Fortress Classic, Day of Defeat and more. Easily extendable with custom configurations and plugins.
Special thank you to all the past and presentGitHub Sponsors 💖.
Before starting, ensure you have the Docker daemon and the Docker CLI tool installed and available.
Important
The following steps will not work if you use an ARM architecture system. For best results, use a system running x86-64.
You can run the following in your terminal to get started as quickly as possible. Adjust the image name (jives/hlds) so the tag corresponds with the game you want to use. Additionally, you can adjust the server startup arguments by modifying the command property; for a list of available arguments, visit the Valve Developer Wiki.
docker run -d -ti \ --name hlds \ -v"$(pwd)/config:/temp/config" \ -v"$(pwd)/mods:/temp/mods" \ -p 27015:27015/udp \ -p 27015:27015 \ -p 26900:26900/udp \ jives/hlds:valve \"+log on +rcon_password changeme +maxplayers 12 +map crossfire"# 📣 Modify your server startup commands here. You can specify the image with the desired game you want the server to run in the line above.
Tip
The available images are below. When changing the game, be sure to adjust the +map parameter, as it may cause the server to not be joinable if the map is unavailable.
jives/hlds:valve(Half-Life Deathmatch)jives/hlds:cstrike(Counter-Strike)jives/hlds:czero(Counter-Strike Condition Zero)jives/hlds:dmc(Deathmatch Classic)jives/hlds:gearbox(Half-Life Opposing Force)jives/hlds:ricohet(Ricochet)jives/hlds:dod(Day of Defeat)jives/hlds:tfc(Team Fortress Classic)jives/hlds:valve-legacy(Half-Life Deathmatch) (Pre-25th Anniversary Build)jives/hlds:cstrike-legacy(Counter-Strike) (Pre-25th Anniversary Build)jives/hlds:czero-legacy(Counter-Strike Condition Zero) (Pre-25th Anniversary Build)jives/hlds:tfc-legacy(Team Fortress Classic) (Pre-25th Anniversary Build)
Container images are published onDocker Hub and theGitHub Container Registry.
Once the command finishes, you can connect to your server via the public IP address by loading the game onSteam.You must own a copy of the game on Steam to play.
Note
If you cannot join the server, you can check for errors in the server logs by runningdocker ps to get the container id followed bydocker logs <container id>.
If you'd prefer to configure your server usingDocker Compose, you can pull down the project repository to your system and rundocker compose up from the root. Make any modifications you need, such as changing the game image and server startup commands indocker-compose.yml before runningdocker compose up.
To customize the server client further, please check out the following advanced setup guides.
About
🐋 📦 Half-Life Dedicated Server powered by Docker, supporting all the classic GoldSrc Half-Life games and mods-including Counter-Strike 1.6, Team Fortress Classic, Day of Defeat and more. Easily extendable with custom configurations and plugins.
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.