Raised This Month: $12 Target: $400
 3% 

Half-Life Docker - Launch a HLDM server in seconds.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
speziFanta
Junior Member
Join Date: Nov 2007
Old 11-19-2018 , 11:53   Half-Life Docker - Launch a HLDM server in seconds.
Reply With Quote #1

Today is the 20th anniversary of Half-Life and that's why I wanted to reboot a Half-Life Deathmatch server.

Unfortunately, this is a bit tedious because downloading HLDS needs a workaround and a couple of retries. Long story short: I made a Docker image which launches a HLDM server in seconds.

Code:
docker run -it --rm -p27015:27015 -p27015:27015/udp spezifanta/hldm
If you are familiar with Docker, please have a try and post some feedback or file an issue on GitHub.

The project can be found on GitHub.


Last edited by speziFanta; 11-22-2018 at 14:21.
speziFanta is offline
haZh
Member
Join Date: May 2017
Location: Sri Lanka
Old 11-19-2018 , 21:59   Re: Half-Life Docker
Reply With Quote #2

Damn, quality stuff. Thanks for sharing.
__________________
haZh is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 11-20-2018 , 12:38   Re: Half-Life Docker
Reply With Quote #3

It's been maybe a month or so since my last attempt, but for me it'd fail to download all the required files unless I logged in to SteamCMD with an actual Steam account rather than as anonymous.
__________________
hleV is offline
Chlorus
New Member
Join Date: May 2019
Old 05-14-2019 , 03:08   Re: Half-Life Docker - Launch a HLDM server in seconds.
Reply With Quote #4

Thanks so much for this - works great for spooling up HLDM.

I'm taking a crack at parameterizing the image build so we can specify the game ID / mod name we want to pull down as ENVs; I'd like to be able to run DoD & TFC servers just as easily. Unfortunately, I can't seem to reproduce the image built from the provided Dockerfile - I keep getting a 'Error! App '90' state is 0x1 after update job.' error from the steamcmd instance. I've tried spamming the validate command in a RUN statement but that doesn't seem to help, at least for HLDM. When I specify DoD, it works fine.

I'll keep poking at it, but I wonder if anyone else has a workaround.
If I can get it working, I'll create a PR for my new Dockerfile.
Chlorus is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-14-2019 , 10:54   Re: Half-Life Docker - Launch a HLDM server in seconds.
Reply With Quote #5

Quote:
Originally Posted by Chlorus View Post
Thanks so much for this - works great for spooling up HLDM.

'Error! App '90' state is 0x1 after update job.'
Have you tried deleting the manifest file? I recently had this issue with one of the App 90 mods.

Others are experiencing this.
For me once I touched gearbox it hosed the entire App 90 manifest file for all the other mods. Either deleting the manifest file or using one of the other mods to validate repaired my case.

When TFC won't work for one guy, HLDM for you, and Gearbox for me leaves me with the impression the steamcmd replication servers are out of sync.
__________________
DJEarthQuake is offline
Chlorus
New Member
Join Date: May 2019
Old 05-14-2019 , 12:52   Re: Half-Life Docker - Launch a HLDM server in seconds.
Reply With Quote #6

Thanks DJ! There's some great stuff in that GitHub issue I'll have to try as soon as I get home.
Chlorus is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode