Skip to content

Instantly share code, notes, and snippets.

@tammo
Last active January 7, 2021 09:40
Show Gist options
  • Select an option

  • Save tammo/ee2947dbfc7d1148d8b09a1523141dec to your computer and use it in GitHub Desktop.

Select an option

Save tammo/ee2947dbfc7d1148d8b09a1523141dec to your computer and use it in GitHub Desktop.
some documentation

docs

install docker on raspberry 4

sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu focal stable"

create volume and start container

docker pull homeassistant/raspberrypi4-homeassistant:2020.12.2

mkdir /home/ubuntu/home-assistant
docker volume create --driver local --name home-assistant --opt type=none --opt device=/home/ubuntu/home-assistant --opt o=bind

docker run --init -d --name="home-assistant" --restart "unless-stopped" -e "TZ=Europe/Berlin" -v home-assistant:/config -v /etc/localtime:/etc/localtime:ro --net=host --device=/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2258955-if00 homeassistant/raspberrypi4-homeassistant:2020.12.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment