Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose up -d rebuilds the entire container #40

Closed
thomasmcrowe opened this issue Jan 2, 2024 · 6 comments
Closed

docker-compose up -d rebuilds the entire container #40

thomasmcrowe opened this issue Jan 2, 2024 · 6 comments
Labels
question Further information is requested

Comments

@thomasmcrowe
Copy link

I often run docker-compose up -d because I change the starting parameters often (usually adding and removing mods). About 1 out of every 4 or 5 times instead of just doing a quick "updating settings" it instead rebuilds a whole new docker instances with its only files and server and all. It puts it under /var/snapd instead of /var/lib/docker and I am forced to move over my saved games and ini's. This is pretty annoying and I'd like to figure out why it keeps doing a whole new rebuild. Any logs I can run or something I should check next time I run docker-compose up?

@mschnitzer mschnitzer added the question Further information is requested label Jan 3, 2024
@mschnitzer
Copy link
Owner

Could you please share your docker-compose.yml file and censor all passwords that you might have placed there?

What distribution are you using?

@thomasmcrowe
Copy link
Author

thomasmcrowe commented Jan 3, 2024 via email

@mschnitzer
Copy link
Owner

So it is an expected behavior of docker-compose that the container rebuilds if you change the docker-compose.yml file, but this does not have any effect on docker volumes where your server files are stored.

I'm actually not sure what you mean by "It puts under /var/snapd". The ASA files are stored in docker volumes and those can be found at /var/lib/docker/volumes. Could you please show me what files are stored at /var/snapd. This is the first time I hear about this.

@thomasmcrowe
Copy link
Author

thomasmcrowe commented Jan 4, 2024 via email

@mschnitzer
Copy link
Owner

Could you please show me what files exist in /var/snapd ?

@mschnitzer
Copy link
Owner

Please reopen if you still need help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants