How do I update my Home Assistant Docker container without Watchtower?

0
13
Asked By CuriousCat123 On

I'm looking for some guidance on updating my Home Assistant container. I used to do this through Watchtower, but since Portainer broke, I can't remember the steps to manually update it. I can't find a solid guide online either, so any help would be appreciated. Thanks in advance!

3 Answers

Answered By SystemSage On

Here’s a quick rundown of the steps: First, navigate to the folder with your `docker-compose.yaml` file, then run `docker compose down` to stop the current container. Be sure to backup your volumes. Next, run `docker compose pull` to get the latest image, and finally, execute `docker compose up -d`. Just remember, your commands may vary a bit depending on your setup!

Answered By TechGuru99 On

To update your Home Assistant container without Watchtower, you'll need to stop your current container and then remove it. After that, pull the latest image and create a new container while ensuring that your configuration volume remains intact so you don't lose your data.

Answered By DockerDynamo On

Actually, you don't need to stop the container before pulling the new image! If you're using Docker Compose, just run `docker compose pull` followed by `docker compose up -d`. This will automatically recreate the container with the latest image without needing to delete it manually.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.