Sign inSign up

shadyzlt/cs-server-arm

By shadyzlt

•Updated over 1 year ago

CS 1.6 server on ARM.

Image
Web servers
0

2.0K

shadyzlt/cs-server-arm repository overview

⁠Counter-Strike 1.6 Dedicated Server

This image runs a Counter-Strike 1.6 dedicated server in ARM with AMX Mod X and Metamod.


⁠🛠️ Features

  • Runs on linux/arm64 and linux/amd64
  • Includes AMX Mod X and Metamod
  • Easily configurable via environment variables
⁠🚀 How to Use

Run the Counter-Strike 1.6 server with environment variables:

docker run -d --platform linux/amd64 --privileged -p 27015:27015/udp \
  -e CPU_MHZ=1000 \
  -e HOSTNAME="My CS 1.6 Server" \
  -e MAXPLAYERS=32 \
  -e MAP="de_dust2" \
  --name cs-server shadyzlt/cs-server-arm:latest

⁠🛠️ Environment Variables
VariableDefault ValueDescription
CPU_MHZ1000CPU frequency (fixes startup issues)
HOSTNAME"Counter-Strike 1.6"Server name
MAXPLAYERS32Max number of players
MAP"de_dust2"Default map

⁠🖥️ Running on Different Architectures (QEMU)

If you're running an amd64 image on an arm64 machine (or vice versa), you need QEMU to emulate the architecture.

⁠✅ Check if QEMU is Installed

Run:

docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
⁠🏰 Use QEMU When Running the Container
docker run -d --platform linux/amd64 --privileged -p 26900:26900/udp -p 27020:27020/udp -p 27015:27015/udp -p 27015:2701 \
  -e CPU_MHZ=1000 \
  -e HOSTNAME="My CS 1.6 Server" \
  -e MAXPLAYERS=32 \
  -e MAP="de_dust2" \
  --name cs-server shadyzlt/cs-server-arm:latest

⁠Running on Komodo:

⁠Envs:
MAXPLAYERS=32
STARTMAP=de_dust2
SERVER_NAME="CS_1.6_ZLT_Server"
START_MONEY=800
FRIENDLY_FIRE=1
BUY_TIME=0.35

Extra args: --platform linux/amd64

This project is based on: https://hub.docker.com/r/kingk0der/counter-strike-1.6⁠

⁠Changes from base project:
  • Changed the name of the build.
  • Added new envs.
  • Added fixed to run on ARM.

Tag summary

Content type

Image

Digest

sha256:ada943b04…

Size

528.2 MB

Last updated

over 1 year ago

docker pull shadyzlt/cs-server-arm:1.0.0