Это видео недоступно.
Сожалеем об этом.

Installing Docker and Home Assistant Container

Поделиться
HTML-код
  • Опубликовано: 15 авг 2024
  • I show you how you can supercharge your Smart Home by installing Docker, Docker Compose, Portainer and Home Assistant Container onto a Linux computer.
    ❤️ Found this video useful and want to support the channel? I'd love a donation at paypal.me/home...
    Links:
    If you're not sure what Docker is, check out this video first: • Why I Use Docker for m...
    Home Assistant OS vs Container: which is right for you? Find out here: • Which Home Assistant i...
    Blog post with all the steps from this video: www.homeautoma...
    Chapters:
    00:00 - Intro
    01:00 - Prerequisites
    02:06 - Installing Docker Engine
    05:27 - Managing Docker without Root/Sudo permissions
    06:23 - Installing Docker Compose
    06:49 - Installing Portainer on Docker
    11:11 - Installing Home Assistant Container on Docker
    14:30 - Using iFrame Panels on Home Assistant to access other UIs
    16:28 - Next up in the series...

Комментарии • 266

  • @emilianofernandezcervantes4042
    @emilianofernandezcervantes4042 11 месяцев назад +3

    I came to this video to learn how to install home assistant and ended up watching a complete class of docker compose. Great content, keep it up!

    • @HomeAutomationGuy
      @HomeAutomationGuy  11 месяцев назад

      Glad you learned something and found the video useful ☺️

  • @ooooooooo164
    @ooooooooo164 Год назад +7

    This Is, By Far the, best Tutorial of Installing (and actually understanding what you are doing during the installation process RPi/Linux ) of Home Assistant. Thank You!!! ( subbed )
    for anyone that follows this tut and get a "Permission denied when execute docker-compose command" during the install process
    use "docker compose" (without the dash) is the updated version of "docker-compose"

    • @zyghom
      @zyghom Год назад

      are you sure "Permission denied when execute docker-compose command" is related to "docker compose" instead of "docker-compose"?
      I would say it is related to user not added to docker group

    • @rigpa3024
      @rigpa3024 7 месяцев назад +1

      Thank you so much!!! This should be stickied!

  • @sachnows
    @sachnows 11 месяцев назад +6

    Great guide. Though one thing was different on Raspberry Pi.
    To install docker-compose I had to do this instead:
    sudo apt update
    sudo apt install -y python3-pip libffi-dev
    sudo pip install docker-compose
    Hope that helps someone.

  • @jaxwylde2139
    @jaxwylde2139 Год назад +6

    I'm a recent subscriber, and like what I see so far. One suggestion I'll make is to promote official install process (like you did for installing Home Assistant using Docker). In the section where you're showing how to install Portainer, it would have been better to reference Portainer's documentation as it has changed a bit since your original post (ex. they're now using port 9001 vs 9000). It'll still work, but it's always best to reference most current install steps than using something that worked at one point in the past.

  • @gooseza
    @gooseza Год назад +2

    Great tutorial, thanks! As a first time Linux user, it was pretty scary to blindly paste in all those commands... but it all worked - thank you!!! The next part of my journey is to now understand what the hell I just typed in! lol

  • @fuzzbreezie81
    @fuzzbreezie81 2 года назад +9

    Its nice to see this approach to running Home Assistant. I also run Home Assistant in docker but I used the supervised version. This is really great stuff and I look forward to the rest of the videos in this series. Please keep up the good work. I understand the effort it takes to get this done.

    • @koenchiau4002
      @koenchiau4002 2 года назад +2

      Didn’t know you could run a supervised HA in a container. Would you be able to link me to where I can learn how to do this ?

    • @myrkurvr
      @myrkurvr 2 года назад +1

      @@koenchiau4002 I would like this aswell, new to home assistant and followed this tutorial and only just realized how much you miss out on when you dont have supervised install

  • @jaguarke069
    @jaguarke069 Год назад +2

    Was hesitant to go the container route. Started fiddling with full-on VM on ubuntu desktop and mac osx on a mac mini 204. Followed your guide and couldn't be happier. Thanks for producing a clear to follow guide! Looking forward to learning more.

    • @johanbos3651
      @johanbos3651 Год назад +1

      Hi Alan,
      I have recently bought a FriendlyELec R5C (4Gb / 32Gb eMMC ) because a Raspberry PI 4 was not available.
      Flashed Debian10 on the eMMC.
      Watch a lot of YT viddeo’s to get HomeAssistant/Docker/Portainer etc running on this device.
      And then I came across your video.
      Especially your blog where you described the various steps was superb.
      So I followed in my own pace these steps.
      And found up till now 2 additions which I had to make in order to continue ..
      1e.
      At the step “Add Dockers official GPG key to the KeyRing” I had to add the command “sudo mkdir” for the directory where the downloaded key would be saved
      After this docker was installed and it runs.
      2e.
      The most important next step to do is to install docker-compose.
      This is done by using the “Curl” command.
      I got stuck on this step.
      So after checking the internet I came across the reason why :
      Curl package is included in the default Debian 10 repositories, to install it run the following command:
      sudo apt install curl
      So I thought I had it cracked ..
      But no…
      I Copy / Paste your extensive long command line where your retrieve from GitHub docker-compose version# 1.29.2
      But it doesn’t work.
      WHY ?
      At this moment I cannot explain why the docker-compose file will not be downloaded.
      Because noting is downloaded.
      ** Can you please help me ? **
      As already described at the beginning : I am using Debian 10.
      Thanks in advance,
      Johan
      The Netherlands

  • @patrickzockol9904
    @patrickzockol9904 2 года назад +15

    this video is way too underrated

  • @AndreasLenze
    @AndreasLenze 2 года назад +2

    Brilliant! I recently attempted to move my VirtualBox HA to Docker, but ran into some roadblocks. Your video is just what I needed - thank you.

  • @ThomasAshworth
    @ThomasAshworth 2 года назад +1

    Perfect timing, I just started my home lab upgrade for a pi to a micro pc

  • @MrSupersidewinder
    @MrSupersidewinder 2 года назад +1

    Thank you so much for this, Worked Great so far... A few things might help. First, a new user needs to set up the timezones on their brand new Ubuntu Server adding this at the start would help. sudo dpkg-reconfigure tzdata. Second, After installing Home Assistant and returning to portainer to see it, one needs to refresh their browser... And Third, When pasting into the configuration.yaml You missed the comment line, Tidier if you add it... These are NOT complaints!

  • @russtuff
    @russtuff Год назад

    This is solid gold. I couldn't get it working several times, and it was always because I didn't read your steps closely enough :)

  • @ARMCreations
    @ARMCreations 2 года назад +2

    This is incredibly helpful. Installed this on my NUC and everything went flawlessly!
    Thank you so much for this walk through!

  • @lidbergtech
    @lidbergtech 2 года назад

    God damn! I was so curious to start with Docker and Ubuntu. Did start, but never got it to work even though watching other YT channels. From your channel it made it a lot more simple! Thank you so much!

  • @fearthesmeag
    @fearthesmeag 10 месяцев назад

    Cheers for this Alan. I was scratching my head with another YT video for the last couple trying to make sense of it. Until I found this! Seamless and no issues at all. Next task, to get my Sonoff Zigbee 3.0 dongle to be seen by my Synology DS.

  • @matfen7978
    @matfen7978 Год назад

    Amazing video, still relevant and up to date as of March 21th 2023

  • @martinchristensen1987
    @martinchristensen1987 Год назад

    Alan you are not unlike the rest of us :) "If anything prompt me to click yes, I click yes" - This got me in a jam with my wordpress homepage running on Ubuntu, my Apache files got replaced and nothing worked anymore. Be carefull with this :) - Great video though I really like how you take this smart home thing to a level we can relate to. Keep up the good work :) Cheers from Denmark

    • @HomeAutomationGuy
      @HomeAutomationGuy  Год назад +1

      The good thing about Docker is you can always delete everything and start again ☺️

  • @sharpenedge
    @sharpenedge 2 года назад +1

    dude. definitely the best tut for ha setup on linux. i just finished my setup and you helped me greatly. bravo sir.

  • @aseda8146
    @aseda8146 2 года назад +1

    Good video. Can't wait for the other videos on the series. Regarding portainer, I believe they deprecated the portainer/portainer image and portainer/portainer-ce shoud be used insted. Check their dockerhub entry where they explain that.

    • @HomeAutomationGuy
      @HomeAutomationGuy  2 года назад +2

      I did not know that - thanks for letting me know! I'll update my blog post accordingly.

  • @I000I
    @I000I Год назад

    Can't thank you enough! Best tutorial so far! Installed on Lenovo ThinkCenter mini computer with Ubuntu Server.

  • @systematictechnology
    @systematictechnology Год назад

    Excellent tutorial. I got everything set up on my system with no dramas. Thanks!

  • @user-sl4tw6ro8j
    @user-sl4tw6ro8j Год назад

    Thank you for your guidance. I have finally managed to get HA running on a WAGO PFC.

  • @mustafafathi9507
    @mustafafathi9507 2 года назад +1

    Perfect tutorial.
    when i have installed Hass , it can't onboard for ubuntu 20.4.
    and solution is i have enable 8123 within firewall

  • @ericperaza2544
    @ericperaza2544 Год назад

    Running this on RPi4 which is ARM64 (docker doesn't have binaries for arm64 for docker-compose), so had to do a roundabout method using sudo pip3 installation for docker-compose. Other than that, everything worked perfectly.

  •  2 года назад +3

    Great tutorial, even a non-technical person will understand what to do. Thank you for making life easier for "lazy" people =]

  • @gaicotoonen
    @gaicotoonen Год назад

    Hi Allen, Thanks so much for your video/tutorial and clear overview of all the elements. You are a good explainer. HA was running within a day on my Beelink AMD.

  • @tankx5915
    @tankx5915 2 года назад +1

    Hey, you should definitely add this to your docker playlist!

    • @HomeAutomationGuy
      @HomeAutomationGuy  2 года назад +1

      🤦‍♂️ How did I miss that!?! Thank you for letting me know, I've added it now!

  • @Zolive974
    @Zolive974 5 месяцев назад

    Huge thanks for this very complet tutorial ! Very easy to understand, even for a french guy like me lol

  • @nagisupercell
    @nagisupercell Год назад

    Great video. I believe people will know docker/docker-compose/container better after going though this series.

  • @s80275
    @s80275 2 месяца назад

    >Who needs Add Ons and the Supervisor eh!?
    Cheers! 👍👍👍

  • @Danish3Cubed
    @Danish3Cubed 6 месяцев назад

    On newer versions of docker compose the command to check the version have been changed to: just "docker compose version". With out the "-"

  • @AndrewGlasgow2020
    @AndrewGlasgow2020 3 месяца назад

    Great. Very helpful at my level of knowledge. 👍 Would be even greater if you could do a Debian Linux version 🙂

  • @wolfiy
    @wolfiy Год назад

    8:34 (ignore this i gtg and will resume later, great video btw thank you!)

  • @hineko_
    @hineko_ 9 месяцев назад

    just fyi docker's "network_mode:host" from homeassistant settings works only on linux. If you do it on windows or macos, your app won't have any ports open. You gotta do "ports:" instead

  • @clarkedigital
    @clarkedigital 2 года назад

    Amazing. Thank you. Really easy step by step guide. Already lining up the next videos.

  • @anon8723
    @anon8723 Год назад +1

    Does this still work? I cannot get Docker Compose to install and some of the commands are different on their website vs in the video. I am a complete noob to docker and Linux, but am just trying to setup Home Assistant in a Docker Container on my Raspberry Pi

  • @BradleyHerbst
    @BradleyHerbst 2 года назад +2

    There is a difference between Docker and Docker Desktop. Docker for linux is free and doesn't have the restrictions that Docker Desktop has.

  • @Crow1093
    @Crow1093 Год назад +3

    Hi Alan, nice video. I have a question. Why did you chose ubuntu server over the ubuntu desktop client? I want to migrate from HASS OS to docker but can't decide which way to go on my new intel nuc.

    • @SavvasMohito
      @SavvasMohito Год назад +1

      May be late to this, but if you're planning to use your nuc exclusively as a server and access it through ssh remotely from another computer, you don't really need a desktop graphical interface. That's why someone would choose Ubuntu server.

  • @empty177
    @empty177 Год назад

    very easy to follow and great how to video. can you do a video of link your video on how to add smart thing (samsung) and adding any camera into an RSTP streaming with Home Assit

  • @svalebkisheste2604
    @svalebkisheste2604 10 месяцев назад

    Extremely great video! Really awesome job - well done

  • @pedroh29
    @pedroh29 Год назад +1

    Hello Alan, how are you? Greetings from Brazil!
    I'm having problems running the command docker compose up -d, docker compose creates the container folders with permissions for the root user, so I don't have permissions to edit or create new files (HA configuration.yaml for example).
    How to solve this problem?

  • @NateDietrich
    @NateDietrich Год назад +1

    The instructions seem to be a bit out of date. Ubuntu core uses snap now instead of apt-get, and the docker-compose link no longer works. Maybe someone who is already fluent at Linux might be able to get this to work.

    • @AmbeSwag
      @AmbeSwag 2 месяца назад

      I don't know jack diddly shit about linux. I know a little bit about coding cause I took classes in highschool multiple times. I keep getting stuck on ever container he gets us to make. They all keep installing with issues. Eventually I figure out what is causing issues and change the code a little. Now Im starting to understand what each line is doing. 😭

  • @JimDory
    @JimDory 4 месяца назад

    I have a question on shutting down a server with docker and HA (and Portainer) to move it or install something (battery backup). What is best way to shut down docker/HA and the host server? It is on a headless Odroid (installed following Home Automation Guy's tutorial - many thanks!) and I can ssh in and easily do a "shutdown -h now", but not sure that is good. In Portainer.. I assume I could just go to the containers and hit "Stop" on them, then shut everything down with the shutdown command. Wondering best practices. Also, in HA under Settings/System there's that little power button upper right, but under Advanced it no longer gives me the shutdown option.. just restart. Used to until I did something. I've been googling the heck out of this and so far empty handed.. found one or two explanations that weren't sure applied to my case. Thanks for reading!

  • @aalmarshad
    @aalmarshad 23 дня назад

    if I access HA from outside, I cannot open the portioner from the

  • @nlemmon2001
    @nlemmon2001 6 месяцев назад

    Oh very intuitive.

  • @ljdswer
    @ljdswer 7 месяцев назад

    When installing docker using the terminal, the author confused Docker Desktop (the proprietary frontend for the containerd) with the containerd itself (the FOSS solution). @HomeAutomationGuy installed the free and open source Docker CLI with a containerd, but warned about the Docker Desktop license, which is completely unrelated to this video.

  • @davidforbes9299
    @davidforbes9299 2 месяца назад

    great walkthrough! sorting nvme ssd m.2 with ubuntu server verison first then following your guide.
    I wondering what about hacs, Lovelace card and download from github in dockers?

    • @HomeAutomationGuy
      @HomeAutomationGuy  2 месяца назад

      HACS and the lovelace cards all work as normal with this process.

  • @dennisclark6548
    @dennisclark6548 2 года назад +1

    @Home Automation Guy Shopping now for Intel NUC and it appears newer versions have some issues installing Ubuntu. What version of NUC are you running and do you have any input on using newer NUC's? Cheers

  • @luizhenriquemaria
    @luizhenriquemaria 10 месяцев назад

    Great Guy, thank you for your video.

  • @edipavic3208
    @edipavic3208 2 года назад +2

    Hi!
    Great video! I recently came across your channel and find it very interesting and informative. Can't wait for other videos in the series!
    One question, though- I have HA running in Docker container on RasPi for about a year now, it was my first touch with both HA and Docker then and I had no idea what any of that is. Now that I'm a bit smarter, I would like to extend on it and install Portainer- so where should I start from in the video? Since I already have HA in a container, I need to first install Compose and then Portainer? Then I should already see existing HA container?
    Thanks in advance!

    • @HomeAutomationGuy
      @HomeAutomationGuy  2 года назад +1

      You don't need to use Compose to install Portainer if you don't want to. You can just follow the instructions on their website here: docs.portainer.io/v/ce-2.11/start/install/server/docker/linux. You'll then see both your HA and Portainer Containers.
      I just find it easier to manage all my containers using the Compose file, but it's not mandatory. You can definitely install Compose and then move your HA container to there too if you want. Just make sure you use the same data volumes so you don't lose all your configuration.

    • @edipavic3208
      @edipavic3208 2 года назад

      @@HomeAutomationGuy One thing that I found particularly interesting and beneficial with Portainer, is management of HA images - something that I haven't some across much reading about this type of installation. Since I was using HA with Docker for some time now, every time I updated HA a new image was downloaded- something I had no idea I was supposed to manage myself, and they can be quite big! So by installing Portainer I was finally made aware that I can clear basically 8GB of unused image files! O.O Such a relief for my SD card. :D

  • @GenerlAce
    @GenerlAce 2 года назад

    Great tutorial. Glad I found your videos !

  • @burner37
    @burner37 Год назад +1

    Amazing video!
    I'm planning to migrate from supervised to docker because I use other containers simultaneously and my install is now completely broken.
    Since we cannot restore backups done via supervised on the docker version, what do you recommend to migrate my installation? Is copying the config folder to the new install enough to recover everything (devices, zigbee network, profiles, history,...)?

    • @zyghom
      @zyghom Год назад

      I doubt it will work 100%
      Some things will work, some will not - especially all related to add-ons will not work (at least without reconfiguring them, i.e. IP addresses, usernames/passwords etc.)
      Also: if you use influxDB on HA for sure you have 1.x installed while in container it will be rather 2.x - these 2 are completely incompatible, starting with changes in configuration.yaml file on HA
      Zigbee as well.
      And so on, until you are done with all addons

  • @chimpsinties
    @chimpsinties 9 месяцев назад

    Have you got any advice about setting up pihole to run in a container like you have here at 7:02mins. I have an old Pi2 running pihole on my network, it is also the DHCP server. I have bee following your other videos so basically have exatly the same setup as you. I have tried setting pihole up in docker compose following the documentation on the docker and pihole websites but can't get it to work right. I have pihole running in docker and I want it to handle my DHCP too. It appears to work as expected and will hand out IP addresses for new devices. The problem is, when I reboot the server, the server then doesn't seem to allocate itself an IP address. So then everything falls apart. The only thing I can do is to reenable DHCP on my old pihole and reboot the server again so it does get it's IP again. I have removed the ports from the docker compose file and added network_mode: host like it says. I have also suspected the systemd_resolved service to stop it conflicting on port 53. I'm at a loss here.

  • @matthewbarton-pye9925
    @matthewbarton-pye9925 12 дней назад

    Maybe this is now irrelevant due to the ago of the post but will be removed in HA according to a message that popped up for me today. Have you come up with a new way to display portainer within ha?

  • @michnl1772
    @michnl1772 11 месяцев назад

    i can't restore a Home Assistant installation... (HA backup) is there a way to restore a backup in Docker (CasaOS)?

  • @UnikumMitsubishi
    @UnikumMitsubishi 3 месяца назад

    My fix was removing the. "-" from "docker-compose up -d" to "docker compose up -d"

  • @zyghom
    @zyghom Год назад

    great video of course, I managed to move almost everything (node-red, mariadb, mqtt, influxdb, grafana, wireguard, pihole...) to the containers, remaining one is... home assistant ;)
    that is my next step ;-)
    once I am done, I will say good bye Raspberry Pi... ;)

  • @revealingfacts4all
    @revealingfacts4all Год назад

    you might consider removing network_mode: host setting and opting to, instead, define a self-contained network that is then bridged with the docker host machine's ports. Then internal docker images can freely "talk" to one another while only exposing pertinent external ports of interest.

    • @HomeAutomationGuy
      @HomeAutomationGuy  Год назад

      Thanks for the tip. Docker networking is a dark art to me, I have NFI how it works!

  • @Jackflem
    @Jackflem 2 года назад +1

    Thanks for this procedure, worked great. One question when new versions of Portainer or HA become available what is the recommended upgrade process?

  • @rogerolson2252
    @rogerolson2252 Год назад

    Have what I hope will be a quick question. Have HASSOS running on a RPI4 and wanted to try KeyMaster because I am migrating off of an old Vera hub. After installing it I was amazed at how many automations it created and decided I didn't want it there. So I decided to follow yours and others advice and run HA in docker on a Debian VM I have running. Was able to create docker and with ZWAVEJS connect to my zwave card in my RPI 4 but had some issues with entity cards not loading so decided to blow away the docker container and rebuild from scratch.
    Deleted the container in portainer and recreated HA and all the HACS and KeyMaster entries were still there. Deleted it again in Portainer and this time deleted the entire config folder and ran through all the docker purge commands I thought might be appropriate. Recreated HA and still have a bunch of crap hanging around.
    Where is it all living? Though container advantage was you could recreate them all day long to keep experimenting.
    Thanks

  • @serhioromano
    @serhioromano 2 года назад

    This is good when you know the tch. That would be an easy task for me, but there are some addons I would not know how to install. For instance, I want VS Code Web icon to open config files `/opt` or I want a web SSH & Terminal to run commands right from web interface. Those addons exist but how to install them if those are designed exactly for HA?

  • @harvasyuk
    @harvasyuk 11 месяцев назад

    Thank you! Very helpful video.

  • @koenchiau4002
    @koenchiau4002 2 года назад +1

    Love your work !
    I would be interested in learning how to integrate a Home Assistant Container install (without Supervisor) and Tailscale. There is no add-on in this setup,

    • @HomeAutomationGuy
      @HomeAutomationGuy  2 года назад

      I've not personally used Tailscale, but I use Wireguard. Maybe I'll take a look and do a video on it!

  • @edwardrhodes4403
    @edwardrhodes4403 6 месяцев назад

    anyone know if its possible to do the editing of config files throguh vscode? When i try to save them it saves i dont have the right permissoion to edit in /opt. I think it would be way more conveneient this way

  • @basemkhuri7806
    @basemkhuri7806 8 месяцев назад

    Hey Home Automation Guy, thanks for the splendid video. Immensely helpful. Just one question, how do you reverse the process and totally remove Home Assistant from a Linux or Raspberry Pi Docker installation. I am moving my Home assistant to another server and need to do a clean uninstall of the old one. Thanks for your help.

  • @justinsmall9149
    @justinsmall9149 9 месяцев назад

    out of interest what permissions as your non root user got to /opt directory? Finding that I have to sudo nano to edit the configuration.yaml file in this folder

  • @JRWJWV
    @JRWJWV Год назад +1

    When trying to add the home assistant to the docker-compose.yaml file, I get an error, [ File 'docker-compose.yaml is unwritable ] and get stuck at this step.

  • @JaPaKa80
    @JaPaKa80 Год назад

    Hello, I have a problem, I follow the guide, but unfortunately I am blocked from editing the /opt/homeassistant/config file
    cd /opt/homeassistant/config
    sudo nano configuration.yaml
    -bash:No such file or directory
    my configuration.yaml file is locked, even when I have "root" rights, I can't do anything, I know it's a common case ...
    HELP !!!

    • @JaPaKa80
      @JaPaKa80 Год назад

      I found it, maybe someone is also looking for a solution, catch it ....
      Try changing the permissions to /opt then making sure that A and all of its contents are owned by you.
      sudo chmod 775 /opt
      sudo chown -R $USER:$USER /opt/

  • @j.r.r.tolkien5785
    @j.r.r.tolkien5785 2 года назад

    I loved your style It's great thank you

  • @ajiteshkhosla12
    @ajiteshkhosla12 2 года назад +2

    Hi Alan (@Home Automation Guy), thanks for the awesome series. I managed to setup docker containers for most of the add-ons, however, facing issue with meross lan. Did you manage to set-it up if it's in your smart-home list. Also, could you please help to confirm whether DHCP discovery works for you with docker containers? Thanks again!

    • @HomeAutomationGuy
      @HomeAutomationGuy  2 года назад

      My Docker containers get their own internal IP addresses, I don't use DHCP to assign them a normal network address. I'm not sure what meross lan is, so I can't comment on that I'm afraid.

    • @zyghom
      @zyghom Год назад

      I sorted out meross issues by... selling them all and buying ESP based devices, then all in ESPhome and voila ;)
      Too much hassle with Meross - especially when the guys from Meross started... disconnecting my devices due to "high number of API calls"

  • @pozytywniezakrecony151
    @pozytywniezakrecony151 Год назад

    Can;t get my head around it - say I get laptop with WIndows 10. I want the version that can install add-ons so either I need to do OS install (remove win10 I guess) or supervised in linux docker (I guess remove win10 or install alongside it). However I am not sure if I survive the linux part lol...

  • @GenevieveShaba
    @GenevieveShaba 11 месяцев назад

    Do you use any RTL_433 sensors (eg. temp/humidity)?? Any opinions? I've been following all your videos and would love a specific example of manually sending MQTT to HA container. I have the data coming through on my host, but can't get it to transfer to MQTT/Mosquitto HA. If you're not sure, can you point me in the right direction? I'm having a hard time finding successful solutions online currently. TIA

  • @TheKd4lyfe
    @TheKd4lyfe 10 месяцев назад

    i noticed a number of changes in docker desktop

  • @MischaGielen
    @MischaGielen Год назад

    Short question: Can it be that when I want to install Docker on Linux Mint things change? I'm getting stuck during the install. Would it be better to install Ubuntu Server and start from there? Right now I basically have a clean Mint-install on my Intel NUC.

  • @babludhiman9512
    @babludhiman9512 11 месяцев назад

    Can you do the video for installing scrypted as a docker compose container and map scrypted from /opt directory. Thanks

  • @Jason-mk3nn
    @Jason-mk3nn 2 года назад +1

    Thank you very much for this video. I had been waiting for someone to do a clear explainer video like this, as it was the direction I was hoping to go, but unsure of the best practices.
    One big question, though. I would really like to use the machine I have for more than just a server, as it is a beefy HP Z800 with 48GB of ram. It was an old attempt to try Windows for a video and graphics workstation. I would really like to use it both for Docker and as a driver for a few smart displays. To that end, I had hoped to run Ubuntu as a desktop and a server. This would allow me to drive a couple displays with dynamic content. Would using Ubuntu Desktop check both the need for the server and desktop needs? If not, I would love to hear your suggestions. Thanks again for the great series!

    • @HomeAutomationGuy
      @HomeAutomationGuy  2 года назад +1

      That should work fine as far as I can tell! You can run Docker fine on Ubuntu Desktop

  • @jarekmor
    @jarekmor Год назад

    Panel_: how to get access to panel_inframe from internet (external network)? I am using ZeroTierOne.

  • @betchphoto
    @betchphoto 10 месяцев назад

    Hey, I just watched so many of your videos, you helped me a lot setting things up. Thank you. And your blog posts are also really useful to copy/paste the commands. I just can't find a solution to an issue: I can't get a shelly smartplug to be detected by HA. In the doc, this is what I found about my issue: "If Shelly devices are in a different subnet than the Home Assistant server, you should ensure communication on UDP port 5683 between these subnets." But I've no idea how to do that. Is it on my HA containers, my router or my linux? :/ sorry, I'm new to all this.

  • @rajveersingh-ix6ti
    @rajveersingh-ix6ti Год назад

    add ons not there in the blog post

  • @manlychau
    @manlychau 2 года назад

    Nice tutorial....thank you very much!

  • @BobanVelickovic
    @BobanVelickovic 2 года назад

    Thank you!
    Can we expect that you will show us how to install for example Open VPN on Docker to allow externall access to Home Assistant?

  • @lee-he3ey
    @lee-he3ey 2 года назад

    Great tutorial, could you explain how to get PiHole running in an ?

  • @mashferdista8741
    @mashferdista8741 Год назад

    Hello! This is so great for newbies like myself. I was wondering whether you could let me know how I could create a static IP on Ubuntu and to get SSH on Ubuntu with root/sudo permissions. Thank you. 🤗

  • @shawnhartsell1261
    @shawnhartsell1261 2 года назад +1

    your videos have been great keep them coming! quick question in visual code everything was working great with the ssl connection however all of a sudden i cant see any of my folders or files any more the connection still shows as active and i can expand the opt folder like something is there but the visual code folder wont display them. any ideas on a fix?

    • @HomeAutomationGuy
      @HomeAutomationGuy  2 года назад

      Oh no, that's a weird one! I've never seen that! Perhaps you can remove and re-add the remote connection via SSH?

  • @wolffair1119
    @wolffair1119 2 года назад

    I followed your guide and it is great. When I try to access home assistant from another machine on my LAN I am not able to. Is there something additional to do for this to work?

  • @RF-fr7jl
    @RF-fr7jl Год назад

    Thank you for the assistance in getting up and running with dock on my nuc. Now I'm trying to get my backup config in place. Can anyone point me to a detailed article on migrating a backup from a home assistant proxmox vm to docker? Thank you!!

  • @josephgagnon555
    @josephgagnon555 6 месяцев назад

    I cannot gain access to the /opt directory unless I use sudo for every command. It's owned by root and does not have write access enabled for anyone else.

    • @HomeAutomationGuy
      @HomeAutomationGuy  6 месяцев назад

      I had to fight with chmod and chown to get it working. I've documented it on one of my blogs

    • @josephgagnon555
      @josephgagnon555 6 месяцев назад +1

      @@HomeAutomationGuy Could you provide a link to the post?

  • @edreeder9743
    @edreeder9743 Год назад

    Great tutorial - video & blog - thank you!
    I got the portainer button to work on home assistant when using a web page, but it does not work when using the app? Any idea’s, thanks!

  • @bmurphy88
    @bmurphy88 2 года назад

    Great vid. Can you do a vid on getting ldap to work with Home Assistant container

  • @johnhedge1429
    @johnhedge1429 Год назад

    I've been watching "Living without add-ons on Home Assistant Container" when you suddenly switch to Portainer in HA which is an addon! Portainer is installed in my Docker system. How do I ingest it into HA please?

  • @davet2667
    @davet2667 Год назад +1

    I get 'ERROR: The Compose file './docker-compose.yaml' is invalid because:
    'homeassistant' does not match any of the regexes: '^x-' after I add the HA container to docker-compose.yaml. Can anyone advise me how to resolve this?

  • @simoncrossley8008
    @simoncrossley8008 Месяц назад

    a little gutted the tutorial seems great but when I follow your steps for docker-compose it fails the version check saying not found, I notice docker-compose is only 9bytes ?? headless ubuntu PI5.

    • @simoncrossley8008
      @simoncrossley8008 Месяц назад

      got there in the end, reset the pi5 then used the linux version suggested by Raspberry Pi installer. now following again :D

    • @HomeAutomationGuy
      @HomeAutomationGuy  Месяц назад +1

      The tutorial is a bit old in "tech standards". It's hard to do things like this and assume your content will still work in a years time!
      Glad you got it working, sorry it wasn't easy!

  • @adibbins
    @adibbins 2 года назад

    Hi Alan, thanks for this video series, but a question, if I want to migrate to docker containized version of ha, can I use the backuo/snapshot functionality to backup my non-containized version and restore it to my containerize installation? I'm trying, but I can't see the restore functionality, have I missed something? thx

  • @edwardvanhazendonk
    @edwardvanhazendonk 2 года назад

    Thanks, very usefull and informative

  • @matthiasra1806
    @matthiasra1806 2 года назад

    great video :) Are you running on an Intel NUC? If so, which one are you using?

    • @HomeAutomationGuy
      @HomeAutomationGuy  2 года назад +1

      Yep - I'm using an older Intel NUC 8, with an i5 processor.

  • @justin.trading
    @justin.trading Год назад

    8:46 hi noticed you are creating files in opt directory in my set up opt is owned / group as root and has permissions set at 755. Is your's not the same? How did you manage to do this?

  • @iBoyLPs
    @iBoyLPs 5 месяцев назад

    Hi, is it possible to save the login password inside the iFrame in Homeassistant? I have to enter it everytime when opening any iFrame

  • @Teeklin
    @Teeklin 8 месяцев назад

    Great tutorial and I appreciate the blog post as well, but I'm running into issues as a new Linux user. I create the Home Assistant container with the docker-compose.yaml and it's running in Portainer, but I can't access it. And looking at your blog post/video/the Home Assistant documentation I notice that none of them include a "Ports" section to map ports out like your portainer section of docker-compose.yaml does, but yet it seems to work just fine for you.
    I'm curious as to what might be different or need changing on my end that it doesn't appear to use the default port or become accessible like it does for you there, and if I should add in a section mirroring portainer with a "Ports: 8123:8123/tcp" in that section to get it working.
    Also, I noticed I needed to actually make the directories here for the config files as I was getting errors when doing "docker-compose up -d" that the directories didn't exist. Doing mkdir and creating opt/homeassistant/config though and giving permissions seemed to get rid of those errors.
    Thanks again for the content, learned a lot even if it didn't all work right on Ubuntu 23.10 like it did here.

    • @rigpa3024
      @rigpa3024 6 месяцев назад

      Hey I'm having exactly the same issue! My HA is running in Portainer but I can't access is via it's IP. Were you able to solve the problem somehow? Would be great if you could share what you did.

  • @expbe
    @expbe 2 года назад +1

    Love your video’s on this! I’m not new to HA, but haven’t got experience with Docker. Got it to work very well, even RFXCOM works. Unfortunately I can’t get HomeKit to work, I need to forward ports and/or bridge but the container doesn’t want to launch.

    • @JottyHB
      @JottyHB Год назад

      Hi. Your post is half a year old now, so I ask myself: can you run Homekit now? Did you solve the problem?

  • @andreiczm
    @andreiczm Год назад +1

    HI!
    I installed everything under Ubuntu but now I'm stuck when trying to install the supervisor.
    I checked the home assistant page and I understood that it's only working with Debian version.
    "This installation method has very strict requirements, for example, it only supports Debian (and Ubuntu, Armbian, Raspberry Pi OS are not supported). So, make sure you understand the requirements from step 1 above."
    I needed supervisor to install DuckDNS and more addons from there.
    do you know how can I do that? Or should I go back using a Virtual machine with the image from home assistant?
    Thanks for your video!

    • @HomeAutomationGuy
      @HomeAutomationGuy  Год назад

      If you're not wanting to run the container version of Home Assistnant, then I suggest using the Home Assistant OS on a virtual machine.

    • @zyghom
      @zyghom Год назад

      "I needed supervisor to install DuckDNS and more addons from there" - no, you don't need supervisor
      and supervisor is only supported on Debian