Upgrade / update Home Assistant HASS docker container...

How to upgrade HASS Home Assistant docker container on Linux... without docker-compose...
#1. Backup HASS from GUI backup option
Settings > System > Backup

# 2. Download latest image, if this returns "Image is up to date" then you can stop here
docker pull ghcr.io/home-assistant/home-assistant:stable

# 3. stop the running container
docker stop homeassistant

# 4. remove it from Docker's list of containers
docker rm homeassistant

# 5. finally, start a new one with custom letsencrypt command
docker run -d \
  --name homeassistant \
  --privileged \
  --restart=unless-stopped \
  -e TZ=Europe/London \
  -v /home/<username>/Docker/hass:/config \
  -v /etc/letsencrypt:/etc/letsencrypt \
  --network=host \

No comments:

Post a Comment

Note: only a member of this blog may post a comment.