Steamcmd Docker cache location
Hi everyone. Not sure if this is the right place to post but here i go:

I'm using steamcmd embedded in docker to manage a few servers, each one in a different container.
Problem is : every time i'm logging to steamcmd in a container, the authentication cache is invalidated for all other containers.

Does anyone know where steamcmd stores the authentication cache, so i can share it between all my docker containers ?
< >
Showing 1-3 of 3 comments
Metal_Warrior 21 Apr, 2020 @ 1:36pm 
Why do you use docker in the first place?

If you need to know the auth cache (which is probably in $HOME/.steam/ somewhere, since Steam does not honor FHS), the easiest thing to do it is to use find prior and after login with mtime.
Biggie cheese 21 Apr, 2020 @ 4:19pm 
Thanks for the answer. I like the idea of having my servers in separate containers, that i could easily start/stop/duplicate/rollback from an interface like weavescope. It also makes network easier : I can just start n copies of a csgo server and bind them to a different outside port using docker. It also feels like a good idea to have a complete separation of the servers (instead of having a lot of system users csgo-1 csgo-2 etc)

You definetely helped me. I think the credential files are the ones starting with ssfn****. I'll try and find a way to share them between the containers.
Zenobius 24 Apr @ 11:34pm 
Originally posted by Biggie cheese:
Thanks for the answer. I like the idea of having my servers in separate containers, that i could easily start/stop/duplicate/rollback from an interface like weavescope. It also makes network easier : I can just start n copies of a csgo server and bind them to a different outside port using docker. It also feels like a good idea to have a complete separation of the servers (instead of having a lot of system users csgo-1 csgo-2 etc)

You definetely helped me. I think the credential files are the ones starting with ssfn****. I'll try and find a way to share them between the containers.

You're better off using one container for your steamcmd, then volume mount home and the different game servers into separate volumes. After you have that "manager" container downloading workshop files, run game servers in their own containers volume mounted to the parts they need.
< >
Showing 1-3 of 3 comments
Per page: 1530 50