Closed r4f4w closed 3 years ago
Hey,
this sounds a lot like a nested volume, which is not possible I think. However, you might be able to achieve the same results using bind mounts. I remember having a similar use-case once, in which the game files were shared for all servers, but certain files (for example bannedplayers.txt) being unique for every instance.
I downloaded csgo files on my Linux server, created a volume to redirect to them (so I don't need to download the game files for every new container), and it's working perfectly.
But, what i want to do is add for example a file in the csgo folder, only in the container, as if I add some plugin, only this the cointainer that I added would be possible to acess it.
Example: Volume to Container 1 - Source /home/csgo/ - Target ./ then I add ./addons/sourcemod/plugins/retakes.smx
Then if I create Container 2, make the same volume, and go to the same folder, this retakes.smx would not be there.
This way, I can add multiple config files to the same folder and will be no conflict with the others containers.
Is that possible? And if it is, how do I start? Any docs/forums that I would help?
As for now, I create a new csgo folder just to add some plugins (Retakes and Pug for example), but that sucks because I have to download an extra 25GB of game files, and have to update each of them individually.