From 1210d617a6f05d11499a8f2047745be01702a43b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20L=C3=B6vdahl?= Date: Sat, 10 Oct 2020 13:30:36 +0300 Subject: [PATCH] Add documentation for Raspberry Pi 4 Docker image (#15144) * Add documentation for Raspberry Pi 4 Docker image According to https://community.home-assistant.io/t/solved-raspberry-pi4-docker-homeassistant-raspberrypi4-homeassistant/150831, there is also a specific Docker image for Raspberry Pi 4. I tried to start Home Assistant on my Raspberry Pi 4 in Docker with the default `homeassistant/home-assistant:stable` image, but that didn't work. After some googling, I found the community post which referenced the Raspberry Pi 4 image. * Combine Raspberry Pi 3 and 4 into one section --- source/_docs/installation/docker.markdown | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/_docs/installation/docker.markdown b/source/_docs/installation/docker.markdown index 73fb13522cc..78d5ec0a1cd 100644 --- a/source/_docs/installation/docker.markdown +++ b/source/_docs/installation/docker.markdown @@ -40,13 +40,19 @@ docker rm home-assistant # remove it from Docker's list of containers docker run -d --name="home-assistant" -v /PATH_TO_YOUR_CONFIG:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant:stable # finally, start a new one ``` -### Raspberry Pi 3 (Raspberry Pi OS) +### Raspberry Pi 3/4 (Raspberry Pi OS) +Raspberry Pi 3: ```bash docker run --init -d --name="home-assistant" -e "TZ=America/New_York" -v /PATH_TO_YOUR_CONFIG:/config --net=host homeassistant/raspberrypi3-homeassistant:stable ``` -You need to replace `/PATH_TO_YOUR_CONFIG` with your path to the configuration, for example if you choose your configuration path to be `/home/pi/homeassistant`, then command would be: +Raspberry Pi 4: +```bash +docker run --init -d --name="home-assistant" -e "TZ=America/New_York" -v /PATH_TO_YOUR_CONFIG:/config --net=host homeassistant/raspberrypi4-homeassistant:stable +``` + +You need to replace `/PATH_TO_YOUR_CONFIG` with your path to the configuration. For example, if you choose your configuration path to be `/home/pi/homeassistant`, the command for **Raspberry Pi 3** would be: ```bash docker run --init -d --name="home-assistant" -e "TZ=America/New_York" -v /home/pi/homeassistant:/config --net=host homeassistant/raspberrypi3-homeassistant:stable