SteamCMD Docker container for Debian 12.
https://hub.docker.com/r/steamcmd/steamcmd
To set up the SteamCMD Docker container for Debian 12, you can follow these steps:
Pull the SteamCMD Docker Image for Debian 12:
docker pull steamcmd/steamcmd:debian-12
Run the Docker Container:
To interactively test the container:
docker run --entrypoint /bin/sh -it steamcmd/steamcmd:debian-12
To download a specific game or server (e.g., Counter-Strike: Global Offensive):
docker run -it steamcmd/steamcmd:debian-12 +login anonymous +app_update 740 +quit
To download to a specific directory on your local machine:
docker run -it -v $PWD:/data steamcmd/steamcmd:debian-12 +login anonymous +force_install_dir /data +app_update 740 +quit
This will set up the SteamCMD tool on a Debian 12 Docker container, allowing you to install and manage Steam games and servers.
Bash:
[root@debian:/0.myfiles# docker pull steamcmd/steamcmd:debian-12
debian-12: Pulling from steamcmd/steamcmd
a480a496ba95: Pulling fs layer
4f4fb700ef54: Pulling fs layer
a480a496ba95: Pull complete
4f4fb700ef54: Pull complete
50cdeb235893: Pull complete
f195a9123b92: Pull complete
180e001b2582: Pull complete
356069679560: Pull complete
f5d9da9e200e: Pull complete
523d0b93f74d: Pull complete
0dee70176321: Pull complete
Digest: sha256:3ad70d9cc93581cdb04a66ed34f58d99a89bb2c6bbea97aa918bc5409a157941
Status: Downloaded newer image for steamcmd/steamcmd:debian-12
docker.io/steamcmd/steamcmd:debian-12
root@debian:/0.myfiles#
root@debian:/0.myfiles#
root@debian:/0.myfiles# docker run --entrypoint /bin/sh -it steamcmd/steamcmd:debian-12
#
]
just install Awesomenauts;
i am inside the container
To install Awesomenauts (App ID 204300) within the SteamCMD container, use the following command:
steamcmd +login anonymous +force_install_dir /home/awesomenauts +app_update 204300 validate +quit
Here’s a breakdown of the command:
+login anonymous:
Logs into Steam anonymously, as Awesomenauts doesn't require a Steam account for installation.+force_install_dir /home/awesomenauts:
Sets the installation directory to /home/awesomenauts within the container.+app_update 204300 validate:
Installs or updates Awesomenauts and verifies the files.+quit:
Exits SteamCMD after installation.
After the installation is complete, you’ll find the game files in the /home/awesomenauts directory within the container. Let me know if you'd like to move them to a mounted directory on your host system.
Subscribe to my newsletter
Read articles from user1272047 directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by