Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🐋 📦 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

NotificationsYou must be signed in to change notification settings

JamesIves/hlds-docker

Docker in the Half-Life Colours

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 💖.

Chooksta69  MattWillFlood  jonathan-milan-pollock  raoulvdberge  robjtede  hadley  kevinchalet  Yousazoe  github  annegentle  planetoftheweb  melton1968  szepeviktor  sckott  provinzkraut  electrovir  Griefed  MontezumaIves  tonjohn  wylie  pylapp  Zhenglei-BCS        

Getting Started 🚀

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.

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>.

Docker Compose

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.

Advanced Setup ⚙️

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

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp