This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/Significant-Neat7754 on 2023-11-05 17:06:04.


I have Docker container installed for things like home assistant.

Now, if I pull a new, updated Docker image for home assistant, will the new container, which I will have to generate after deleting the old one, keep using the old/saved config as long as I point it to the same config directory?

Or do I have to set everything up all over again? What is the best practice regarding this?

Thanks for helping.

(Edit: I am using Docker, and not Docker-compose. In retrospect maybe I should have used Docker compose)

(Edit: I have transitioned all my Docker run containers to Docker compose. Thank you so much for helping.)