mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
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
This commit is contained in:
parent
61c6c4d6d2
commit
1210d617a6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user