Installing Home Assistant on Docker, Docker Compose and Portainer

preview_player
Показать описание
Thank you for watching. In this video we will take you through installing Home Assistant on Docker, Docker Compose and Portainer.

Docker command line example:

docker run -d \
--name homeassistant \
--privileged \
--restart=unless-stopped \
-p 8123:8123 \
-e TZ="Europe/London" \
-v homeassistant_data:/config \
--network=host \

homeassistant:
container_name: homeassistant
volumes:
- /opt/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
network_mode: host

Please like and subscribe, and click on the notification bell so you can be alerted to new videos. Please also consider being a patron at Patreon (link below).

If you would like us to create videos on a particular topic, technology or product, please leave a comment below.

When browsing to your Home Assistant instance, this will be the IP address of the PC/server you have Docker installed on, followed by :8123. If that doesn't work or you don't know the IP address, check your router's device listing.

Chapter links:
0:00 - Intro
1:31 - Installing HA on Docker
3:25 - Installing HA on Docker Compose
5:25 - Installing HA on Portainer
7:53 - Setting up Home Assistant

The below is optional but this will help us to purchase kit for review, and to keep up with channel expenses (studio equipment, etc). We may earn a commission if you purchase something through these links.

Рекомендации по теме
Комментарии
Автор

When installing Home Assistant via Docker or Docker Compose, you instruct us to set the network to Host. But when installing Home Assistant via Portainer, you didn't stipulate a network setting. Seems that the default setting in my case with Portainer was Bridge Mode. Subsequently, my Home Assistant install via Portainer didn't work. After deleting the container and redoing the install via Portainer, I set the network to Host and now it works fine. Hope this is helpful. Excellent video by the way. Thank you.

mitchelstanley
Автор

Love your videos...I'm running Home Assistant and the Portainer add on... do you have any idea of how I can get a Sonoff 3.0 Dongle port to be recognized when I'm trying to setup ZHA integration in Home Assistant? I think the ports aren't available and it is driving me crazy. Any help would be appreciated. Thank you.

paulfechtmeister
Автор

ok couple of differencess ive noticed with my setup.
1st: i installed docker desktop on ubuntu
2nd: google "Install Portainer CE with Docker on WSL / Docker Desktop" slightly different install for portainer
3rd: install Home assistant as you did on portainer.

TheKdlyfe
Автор

Did you ever do a video on how to add other containers to integrate I still can't figure it out. It's easy when using supervisor but I don't want to just have containers that supervisor wants me to have

scotthewitt
Автор

Hey, thank you for this video! Where I have to put in the docker command line? Thank you!

PhilipX
Автор

Installed with docker-compose, wehere is defined the host name or the ip that i can use?

olivierognn
Автор

what a great video!
made my life so much easier.
now I'm wondering if I can use the same procedure to install HA operating system or supervised instead of core.
I'm trying but I can't figure out the correct image link 🤔🤔
any help would be great

mariousai
Автор

my yaml file is empty and if i do docker-compose up -d it says "command not found"

sltwroj
Автор

You say that you will link to fundamental information in the beginning of your video, but like som many youtubers you didn't leave the mentioned link in the deskription. Please update your deskription. Thanks

DanishCubed
Автор

For some reason I am getting no image found for portainer

nathanvillarosa
Автор

thanks
how to dd-ons on Home Assistant Container

souoxxt
Автор

What are the advantages of virtualizing vs local hardware install ?

louisviciedo
Автор

If you know a way to use ha as container and then install esphome do let us know

yoyoyuyu
Автор

can't find the future video mentioned about adding addons for docker home assistant

SignedAdam
Автор

If you remove the awkward pauses and silences this video would be about 3 minutes long.

nlemmon