Sign inSign up

imega/hlds

By imega

•Updated over 10 years ago

Half-Life Dedicated Server.

Image
1

1.7K

imega/hlds repository overview

⁠Half-Life Dedicated Server

This is docker image to run the hlds.

Image size: 280 MB

From image: centos

⁠Usage

$ docker run -d -v /path/to/game/:/data imega/hlds:1.0.0 -binary ./hlds_i686 -game cstrike -console -insecure -nomaster -port 27015 +sv_lan 1 +map gg_dry
⁠Syntax

$0 [-game ] [-debug] [-norestart] [-pidfile] [-binary [hlds_i486|hlds_i686|hlds_amd]] [-timeout ] [-gdb ] [-autoupdate] [-steamerr] [-ignoresigint] [-beta ] [-debuglog ]

⁠Params:
  • -game Specifies the to run.
  • -debug Run debugging on failed servers if possible.
  • -debuglog Log debug output to this file.
  • -norestart Don't attempt to restart failed servers.
  • -pidfile Use the specified to store the server pid.
  • -binary Use the specified binary (no auto detection).
  • -timeout Sleep for seconds before restarting a failed server.
  • -gdb Use as the debugger of failed servers.
  • -steamerr Quit on steam update failure.
  • -beta Make use of a beta version of this server from Steam
  • -ignoresigint Ignore signal INT (prevents CTRL+C quitting the script).
  • -notrap Don't use trap. This prevents automatic removal of old lock files.

Note: All parameters specified as passed through to the server including any not listed.

⁠License

And of course:

MIT: http://mit-license.org⁠

Tag summary

Content type

Image

Digest

Size

97.1 MB

Last updated

over 10 years ago

docker pull imega/hlds:1.0.0