Skip to content

gameservercentral/steamcmd-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

steamcmd-docker

GitHub Workflow Status GitHub release (latest by date) GitHub

This repository contains a Docker image for SteamCMD, based on Ubuntu. SteamCMD is Valve's command-line tool for installing and updating dedicated servers for games that run on Steam.

Table of Contents

Prerequisites

  • Docker must be installed on your system. Instructions for installing Docker can be found here.

Usage

To use the Docker image, run the following command:

docker run -it ghcr.io/gameservercentral/steamcmd:latest

This will start an interactive shell within the container where you can run SteamCMD commands.

Examples

Run Barotrauma Dedicated Server

docker run -it -p 27015:27015/udp -p 27016:27016/udp ghcr.io/gameservercentral/steamcmd:latest /bin/bash -c "steamcmd +force_install_dir /data/ +login anonymous +app_update 1026340 validate +quit && ./data/DedicatedServer"

294420

Run 7 Days to Die Dedicated Server

docker run -it -p 26900:26900/udp  -p 26900:26900/tcp -p 26901:26901/udp  -p 26902:26902/udp ghcr.io/gameservercentral/steamcmd:latest /bin/bash -c "steamcmd +force_install_dir /data/ +login anonymous +app_update 294420 validate +quit &&  cd /data && ./startserver.sh -configfile=serverconfig.xml"

./startserver.sh -configfile=serverconfig.xml

Build Manually

To build the Docker image, clone this repository and run the following command:

git clone https://github.com/gameservercentral/steamcmd-docker.git
cd steamcmd-docker
docker build -t steamcmd-docker .

docker run -it -p 27015:27015/udp -p 27016:27016/udp ghcr.io/gameservercentral/steamcmd:latest /bin/bash -c "steamcmd +force_install_dir /data/ +login anonymous +app_update 1026340 validate +quit && ./data/DedicatedServer"

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

This repository uses GitHub Actions to automatically build and publish a docker image containing SteamCMD, based on Ubuntu.

Topics

Resources

License

Stars

Watchers

Forks

Packages