From 6b3e7ef36bedcdab5711c5badd4108f04fabfa5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Tue, 22 Jun 2021 15:46:17 +0200 Subject: [PATCH] Adjust container tasks (#18268) --- source/_includes/common-tasks/beta_version.md | 6 +++--- source/_includes/common-tasks/development_version.md | 4 +++- source/_includes/common-tasks/specific_version.md | 4 +++- source/_includes/common-tasks/update.md | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/source/_includes/common-tasks/beta_version.md b/source/_includes/common-tasks/beta_version.md index 25615bdd585..6a844466b9d 100644 --- a/source/_includes/common-tasks/beta_version.md +++ b/source/_includes/common-tasks/beta_version.md @@ -38,14 +38,14 @@ If you would like to test next release before anyone else, you can install the b {% endtabbed_block %} - - {% elsif page.installation == "container" %} ```bash -ha os update --version {{current_version}} +docker pull homeassistant/home-assistant:beta ``` +**[You then need to recreate the container with the new image.](/installation/linux#install-home-assistant-container)** + {% elsif page.installation == "core" %} 1. Switch to the user that is running Home Assistant diff --git a/source/_includes/common-tasks/development_version.md b/source/_includes/common-tasks/development_version.md index 346fafccb93..6db0a1c5f4e 100644 --- a/source/_includes/common-tasks/development_version.md +++ b/source/_includes/common-tasks/development_version.md @@ -31,9 +31,11 @@ If you want to stay on the bleeding-edge Home Assistant Core development branch, {% elsif page.installation == "container" %} ```bash -ha os update --version {{current_version}} +docker pull homeassistant/home-assistant:dev ``` +**[You then need to recreate the container with the new image.](/installation/linux#install-home-assistant-container)** + {% elsif page.installation == "core" %} 1. Switch to the user that is running Home Assistant diff --git a/source/_includes/common-tasks/specific_version.md b/source/_includes/common-tasks/specific_version.md index 6d11461ad50..0b0de21a6b2 100644 --- a/source/_includes/common-tasks/specific_version.md +++ b/source/_includes/common-tasks/specific_version.md @@ -13,9 +13,11 @@ ha core update --version {{current_version}} {% elsif page.installation == "container" %} ```bash -ha os update --version {{current_version}} +docker pull homeassistant/home-assistant:{{current_version}} ``` +**[You then need to recreate the container with the new image.](/installation/linux#install-home-assistant-container)** + {% elsif page.installation == "core" %} 1. Switch to the user that is running Home Assistant diff --git a/source/_includes/common-tasks/update.md b/source/_includes/common-tasks/update.md index 53eeea85941..ff567e14b44 100644 --- a/source/_includes/common-tasks/update.md +++ b/source/_includes/common-tasks/update.md @@ -53,7 +53,7 @@ To update Home Assistant Core when you run Home Assistant {{ page.installation_n docker pull homeassistant/raspberrypi4-homeassistant:stable ``` - **[You then need to recreate the container with the new image.](/getting-started/installation)** + **[You then need to recreate the container with the new image.](/installation/linux#install-home-assistant-container)** - title: Docker Compose content: |