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
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!
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.
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
Google Nest Doorbell Not Alerting Google Hub Or Google Mini
Can't Rename Google Nest Doorbell