-
-
Notifications
You must be signed in to change notification settings - Fork 74
Server mount volume #9
Comments
I have never worked with Unraid, but I assume you want to expose the STEAMAPPDIR so it can be modified from outside the container? |
Unraid works more with GUI templates for docker, so there is a lot of stuff there that's not relevant. In console it logs the following issue: |
Yes, this behaviour is intended by docker, the bind-mount follows the documentation in this regard: "If you bind-mount into a non-empty directory on the container, the directory’s existing contents are obscured by the bind mount." (Source) This is the reason why the container can no longer find the "entry.sh" inside the container, since the directory is now empty because it was obscured by the host. What you are looking for is probably this:
Quick explanation: Is this what you have been looking for? |
Hmm, it worked with an older image but not with the current one. It appears that part of the issue is that the entrypoint (entry.sh) is located inside the volume. One solution would be to bind the csgo subdirectory (because I assume that is probably what you want to expose since it holds all the maps, configs and addons)
|
As far as I could understand it, the entry.sh doesn't need to be inside STEAMCMDDIR. |
Yeah, I'm aware of it. My thinking behind it was that, in case of a faulty update that causes the container to get stuck in a restart loop, you would be able to just edit the entry.sh because it's located in a volume (and fix the cause of the issue). Rather than having to commit & recreate the container which is always a bit of a hassle imo. |
I'm having some trouble mounting the STEAMAPPDIR to a different location outside my container.
Im running the server through Unraid, and haven't been able to modify the location of install.
I've tried both setting a mounting path to /home/steam/csgo-dedicated
and using a volume mount pointing to /home/steam/csgo-dedicated
Thank you for the help
The text was updated successfully, but these errors were encountered: