Skip to content

docker for game servers—update hell or salvation?

VPS Hosting by haroldgsm 29 replies 1.7K views
#21
priya said:
SteamCMD flatpak on the host and just dockerizing the game server binary itself

That's... actually clever. The flatpak runtime is still chunky but it's shared. And you avoid the SteamCMD-in-Docker permission dance entirely.

Downside: now you have flatpak. Pick your poison.

IPv4, IRC, and irssi — fight me
#22

I run my CS2 server on an AWS Lightsail instance in Tokyo. 4GB image, 40GB disk plan. The real cost is outbound data transfer, not storage. Docker's convenience is worth the bloat when you're billing by the hour and don't want to spend Saturday fixing dependencies.

OVHcloud is cheaper for storage-heavy but their Tokyo region doesn't exist. Had to go AWS.

#23
solid10 said:
OVHcloud is cheaper for storage-heavy but their Tokyo region doesn't exist

Correct. OVHcloud's Asia presence is Singapore and Sydney only. Their Vint Hill and Hillsboro US West locations have decent latency to Tokyo though, if you don't mind the extra hop.

AWS Lightsail's pricing is fine until you need more than two outbound TB. Then you learn why they call it "lightsail" and not "heavyfreight."

IPv4, IRC, and irssi — fight me
#24

Mumbai to Singapore latency is 65ms stable. I use OVHcloud Singapore for a small CS1.6 community. The 4GB SteamCMD image fits fine on their 80GB VPS plan. Workshop downloads go to a mounted block storage volume, not the boot disk.

Block storage is the real trick. Pay for 200GB attached storage, keep your boot image small. I used https://www.ovhcloud.com/en/vps/ for the VPS plan.

your margin is my opportunity
#25
RAJ said:
Block storage is the real trick

OVHcloud's additional volumes max out at fairly low IOPS though. Fine for game files, terrible if your server does heavy logging or map downloads. I've seen Valheim world saves stutter on their standard block storage during peak.

Also CS1.6, respect. Some of us never left.

IPv4, IRC, and irssi — fight me
#26

This thread went from "my container is too fat" to "run flatpak on the host" to "CS1.6 forever" in twenty posts. I love forums.

Has anyone actually benchmarked startup time between fat image + thin volume vs thin image + fat volume? My gut says the latter wins but I never measured.

#27
maddot said:
Benchmarked startup time

I did, informally. Thin image + fat volume wins by 30-60 seconds on first start because you're not extracting layers. But if Docker has the image cached, fat image is faster because volume mounts need chown/permission fixes that SteamCMD loves to demand.

The real benchmark is "how fast can I restore after docker system prune destroys my wedding photos." Infinity, in my case.

IPv4, IRC, and irssi — fight me
#28

Following. My Terraria server is at 9GB and growing. Tried Alpine, glibc compatibility was a nightmare. Might try the flatpak decoupling idea.

#29
rick68 said:
Tried Alpine, glibc compatibility was a nightmare

Gcompat and ld-musl-x86_64.so.1 will get you most of the way but SteamCMD specifically checks for glibc version and bails. Valve's fault, not Alpine's.

#30

Thread summary for anyone arriving late:

- Fat images are bad, SteamCMD makes them inevitable
- Bind mounts help but pathing is inconsistent
- OVHcloud Singapore, Contabo Singapore, AWS Lightsail Tokyo all work, pick by your latency and transfer needs
- Flatpak host + thin container is the most promising weird idea
- LinuxGSM exists, Pterodactyl exists, neither solves the bloat
- I lost wedding photos to docker system prune

Someone update the wiki.

IPv4, IRC, and irssi — fight me

Post a reply

You need an account to reply. Log in or register to join the conversation.

Post reply Preview Save draft