Run cs 1.6 server with docker

  1. Install docker – https://docs.docker.com/install/linux/docker-ce/debian/
docker run -d -p 26900:26900/udp -p 27020:27020/udp -p 27015:27015/udp -p 27015:27015 -e ADMIN_STEAM=0:1:1234566 --name cs cs16ds/server:latest

github : https://github.com/JimTouz/counter-strike-docker

For interactive docker terminal change the entry point:

docker run it --entrypoint /bin/bash --name cs cs16ds/server:latest

install cs16 in linux ubuntu16

mkdir cs
cd cs
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar xvfz steamcmd_linux.tar.gz
sudo apt-get install lib32gcc1
./steamcmd.sh
login anonymous
force_install_dir ./cs16/
app_update 90 validate (run till you get fully installed message)
exit
cd cs16server​
./hlds_run -console -game cstrike +port 27015 +de_dust2 +maxplayers 32 -pingboost 1

Install addons:
amxmodx dproto metamod

https://wiki.alliedmods.net/Installing_AMX_Mod_X_Manually

Note: path for metamod.so should not be absolute.

http://www.amxmod.net/doc/amxmod_2010.1/en/amxusers.html