mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-01 16:57:34 +00:00
1.1 KiB
1.1 KiB
{% tabbed_block %}
-
title: Install content: |
docker run -d \ --name homeassistant \ --privileged \ --restart=unless-stopped \ -e TZ=MY_TIME_ZONE \ -v /PATH_TO_YOUR_CONFIG:/config \ --network=host \ {{ site.installation.container }}:{{ include.tag | default: 'stable' }}
-
title: Update content: |
# if this returns "Image is up to date" then you can stop here docker pull {{ site.installation.container }}:{{ include.tag | default: 'stable' }}
# stop the running container docker stop homeassistant
# remove it from Docker's list of containers docker rm homeassistant
# finally, start a new one docker run -d \ --name homeassistant \ --restart=unless-stopped \ --privileged \ -e TZ=MY_TIME_ZONE \ -v /PATH_TO_YOUR_CONFIG:/config \ --network=host \ {{ site.installation.container }}:{{ include.tag | default: 'stable' }}
{% endtabbed_block %}