The application you are trying to download either requires a login or that you have purchased the game.
See the Dedicated Servers List on the Valve Developer Wiki for more information about each server requirement.
Fatal Error: Steamcmd needs to be online to update. Please confirm your network connection and try again.
- Your network may be misconfigured. Try the following command to make sure the container can reach the internet and ping
media.steampowered.com
:
docker run --rm --name srcds-test \
--entrypoint "/bin/bash" \
--user root \
-it k4rian/srcds -c "apt update && apt install -y iputils-ping && ping -c 1 media.steampowered.com"
-
Check your domain name resolver configuration, typically
/etc/resolv.conf
on a Debian-based distro.
Thesearch
field can cause a lot of issues with SteamCMD in some environments. -
Add a custom host for
client-download.steampowered.com
using the IP from the domainmedia.steampowered.com
.
- Docker CLI:
docker run --rm --name srcds-fix \
--add-host=client-download.steampowered.com:$(ping -c 1 media.steampowered.com | egrep -o '([0-9]{1,3}\.){3}[0-9]{1,3}' | head -n 1) \
-it k4rian/srcds \
-steamcmd +quit
- Compose file:
services:
#...
extra_hosts:
- "client-download.steampowered.com:<IP>"
#...