Installing Docker and Home Assistant Container

Sdílet
Vložit
  • čas přidán 25. 08. 2024

Komentáře • 267

  • @emilianofernandezcervantes4042
    @emilianofernandezcervantes4042 Před 11 měsíci +4

    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  Před 11 měsíci

      Glad you learned something and found the video useful ☺️

  • @ooooooooo164
    @ooooooooo164 Před rokem +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 Před rokem

      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 Před 7 měsíci +1

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

  • @gooseza
    @gooseza Před rokem +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

  • @sachnows
    @sachnows Před rokem +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 Před rokem +7

    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.

  • @fuzzbreezie81
    @fuzzbreezie81 Před 2 lety +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 Před 2 lety +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 Před 2 lety +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

  • @ThomasAshworth
    @ThomasAshworth Před 2 lety +1

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

  • @jaguarke069
    @jaguarke069 Před rokem +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 Před rokem +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 Před 2 lety +15

    this video is way too underrated

  • @AndreasLenze
    @AndreasLenze Před 2 lety +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.

  • @matfen7978
    @matfen7978 Před rokem

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

  • @MrSupersidewinder
    @MrSupersidewinder Před 2 lety +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!

  • @ARMCreations
    @ARMCreations Před 2 lety +2

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

  • @sharpenedge
    @sharpenedge Před 2 lety +1

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

  • @lidbergtech
    @lidbergtech Před 2 lety

    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!

  • @russtuff
    @russtuff Před rokem

    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 :)

  • @fearthesmeag
    @fearthesmeag Před 10 měsíci

    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.

  • @systematictechnology
    @systematictechnology Před rokem

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

  • @I000I
    @I000I Před rokem

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

  • @tankx5915
    @tankx5915 Před 2 lety +1

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

    • @HomeAutomationGuy
      @HomeAutomationGuy  Před 2 lety +1

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

  • @aseda8146
    @aseda8146 Před 2 lety +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  Před 2 lety +2

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

  • @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  Před rokem +1

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

  •  Před 2 lety +3

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

  • @user-sl4tw6ro8j
    @user-sl4tw6ro8j Před rokem

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

  • @nagisupercell
    @nagisupercell Před rokem

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

  • @Zolive974
    @Zolive974 Před 6 měsíci

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

  • @gaicotoonen
    @gaicotoonen Před rokem

    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.

  • @s80275
    @s80275 Před 2 měsíci

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

  • @wolfiy
    @wolfiy Před rokem

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

  • @clarkedigital
    @clarkedigital Před 2 lety

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

  • @Danish3Cubed
    @Danish3Cubed Před 6 měsíci

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

  • @kondzio2003
    @kondzio2003 Před 21 hodinou

    Awesome tutorial video

  • @svalebkisheste2604
    @svalebkisheste2604 Před 11 měsíci

    Extremely great video! Really awesome job - well done

  • @mustafafathi9507
    @mustafafathi9507 Před 2 lety +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

  • @AndrewGlasgow2020
    @AndrewGlasgow2020 Před 4 měsíci

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

  • @ericperaza2544
    @ericperaza2544 Před rokem

    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.

  • @luizhenriquemaria
    @luizhenriquemaria Před 10 měsíci

    Great Guy, thank you for your video.

  • @GenerlAce
    @GenerlAce Před 2 lety

    Great tutorial. Glad I found your videos !

  • @hineko_
    @hineko_ Před 10 měsíci

    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

  • @anon8723
    @anon8723 Před rokem +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

  • @nlemmon2001
    @nlemmon2001 Před 6 měsíci

    Oh very intuitive.

  • @JimDory
    @JimDory Před 4 měsíci

    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!

  • @BradleyHerbst
    @BradleyHerbst Před 2 lety +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.

  • @UnikumMitsubishi
    @UnikumMitsubishi Před 3 měsíci

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

  • @j.r.r.tolkien5785
    @j.r.r.tolkien5785 Před 2 lety

    I loved your style It's great thank you

  • @Crow1093
    @Crow1093 Před rokem +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 Před rokem +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.

  • @harvasyuk
    @harvasyuk Před 11 měsíci

    Thank you! Very helpful video.

  • @davidforbes9299
    @davidforbes9299 Před 3 měsíci

    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  Před 2 měsíci

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

  • @pedroh29
    @pedroh29 Před rokem +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?

  • @aalmarshad
    @aalmarshad Před měsícem

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

  • @ljdswer
    @ljdswer Před 7 měsíci

    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.

  • @manlychau
    @manlychau Před 2 lety

    Nice tutorial....thank you very much!

  • @matthewbarton-pye9925
    @matthewbarton-pye9925 Před 22 dny

    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?

  • @empty177
    @empty177 Před rokem

    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

  • @NateDietrich
    @NateDietrich Před rokem +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 Před 2 měsíci

      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. 😭

  • @serhioromano
    @serhioromano Před 2 lety

    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?

  • @dennisclark6548
    @dennisclark6548 Před 2 lety +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

  • @zyghom
    @zyghom Před rokem

    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... ;)

  • @edipavic3208
    @edipavic3208 Před 2 lety +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  Před 2 lety +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 Před 2 lety

      @@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

  • @edwardvanhazendonk
    @edwardvanhazendonk Před 2 lety

    Thanks, very usefull and informative

  • @rogerolson2252
    @rogerolson2252 Před rokem

    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

  • @koenchiau4002
    @koenchiau4002 Před 2 lety +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  Před 2 lety

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

  • @burner37
    @burner37 Před rokem +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 Před rokem

      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

  • @michnl1772
    @michnl1772 Před 11 měsíci

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

  • @basemkhuri7806
    @basemkhuri7806 Před 9 měsíci

    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.

  • @TheKd4lyfe
    @TheKd4lyfe Před 11 měsíci

    i noticed a number of changes in docker desktop

  • @JRWJWV
    @JRWJWV Před rokem +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.

  • @Jackflem
    @Jackflem Před 2 lety +1

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

  • @rajveersingh-ix6ti
    @rajveersingh-ix6ti Před rokem

    add ons not there in the blog post

  • @justinsmall9149
    @justinsmall9149 Před 9 měsíci

    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

  • @joakimbengtsson9334
    @joakimbengtsson9334 Před rokem

    Many thanks 😀

  • @ajiteshkhosla12
    @ajiteshkhosla12 Před 2 lety +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  Před 2 lety

      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 Před rokem

      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"

  • @GenevieveShaba
    @GenevieveShaba Před 11 měsíci

    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

  • @babludhiman9512
    @babludhiman9512 Před rokem

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

  • @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...

  • @revealingfacts4all
    @revealingfacts4all Před rokem

    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  Před rokem

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

  • @bmurphy88
    @bmurphy88 Před 2 lety

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

  • @betchphoto
    @betchphoto Před 10 měsíci

    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.

  • @lee-he3ey
    @lee-he3ey Před 2 lety

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

  • @BobanVelickovic
    @BobanVelickovic Před 2 lety

    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?

  • @edreeder9743
    @edreeder9743 Před rokem

    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!

  • @wolffair1119
    @wolffair1119 Před 2 lety

    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?

  • @chimpsinties
    @chimpsinties Před 10 měsíci

    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.

  • @lossless4129
    @lossless4129 Před rokem

    Thank you!

  • @mashferdista8741
    @mashferdista8741 Před rokem

    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. 🤗

  • @Jason-mk3nn
    @Jason-mk3nn Před 2 lety +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  Před 2 lety +1

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

  • @adibbins
    @adibbins Před 2 lety

    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

  • @edwardrhodes4403
    @edwardrhodes4403 Před 6 měsíci

    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

  • @shawnhartsell1261
    @shawnhartsell1261 Před 2 lety +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  Před 2 lety

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

  • @Teeklin
    @Teeklin Před 9 měsíci

    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 Před 7 měsíci

      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.

  • @MischaGielen
    @MischaGielen Před rokem

    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.

  • @jarekmor
    @jarekmor Před 2 lety

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

  • @RF-fr7jl
    @RF-fr7jl Před rokem

    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!!

  • @matthiasra1806
    @matthiasra1806 Před 2 lety

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

    • @HomeAutomationGuy
      @HomeAutomationGuy  Před 2 lety +1

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

  • @justin.trading
    @justin.trading Před rokem

    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?

  • @johnhedge1429
    @johnhedge1429 Před rokem

    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?

  • @JaPaKa80
    @JaPaKa80 Před rokem

    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 Před rokem

      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/

  • @SayWhaaaaaaaaaaaaaaaaaaaaaaat

    THANKS A LOT!

  • @sinister_kiid
    @sinister_kiid Před rokem

    Any chance you could make a video detailing how to set up this type of home assistant to remote onto the internet? Or even just link me with a straight forward explanation for specifically this set up? I spent hours today trying to do this just to give up and sign up for the nabu casa service... all the guides I can find are not specific enough or are specifically for a supervised setup. Thanks!

    • @HomeAutomationGuy
      @HomeAutomationGuy  Před rokem +1

      I suggest using Home Assistant Cloud by Nabu Casa. You get easy remote access, voice assistant integration and you directly fund future development and improvement to Home Assistant

  • @andreiczm
    @andreiczm Před rokem +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  Před rokem

      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 Před rokem

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