Skip to content

Dockerfile for Counter-strike 1.6 Dedicated Server

License

Notifications You must be signed in to change notification settings

fanjin-z/cs1.6-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Counter-strike 1.6 Dedicated Server Images

NOT AN OFFICIAL IMAGE.

Pull from DockerHub

docker pull fnjn/cs1.6:latest
docker run -d -p 27015:27015 cs1.6:latest

Build from Dockerfile

git [email protected]:Fnjn/cs1.6-docker.git
cd cs1.6-docker
docker build . -t cs1.6:latest
docker run -d -p 27015:27015 cs1.6:latest

Configuration

Configure server setting in cfg/server.cfg.
Add banned IP in cfg/listip.cfg.
Add banned users in cfg/banned.cfg.

Example

Run bomb-defuse mode on de_dust2 with maximum 32 players.

hlds/hlds_run -game cstrike +maxplayers 32 +map de_dust2 +hostname "Counter-Strike Dedicated Server"

note: first exec after setup usually fails, simply run the command again.


Report any problem to issue page.

About

Dockerfile for Counter-strike 1.6 Dedicated Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published