Skip to content

artem-panchenko/counter-strike-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status License Apache 2.0

Half-Life Logo

Docker image for Half-Life Dedicated Server

Build an image:

 $ make build

Create and start new Counter-Strike 1.6 server:

 $ docker run -d -p 27020:27015/udp -e START_MAP=de_inferno -e ADMIN_STEAM=0:1:1234566 -e SERVER_NAME="My Server" --name cs hlds:alpha

Stop the server:

 docker stop cs

Start existing (stopped) server:

 docker start cs

Remove the server:

 docker rm cs

Use image from Docker Hub:

 $ docker run -d -p 27020:27015/udp -e START_MAP=de_inferno -e ADMIN_STEAM=0:1:1234566 -e SERVER_NAME="My Server" --name cs hlds/server:alpha +log