• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: July 16th, 2023

help-circle



  • Oh yeah, I kind of skipped over that, but I actually meant that more flexible consumption helps bring down baseload demand, and in turn the need for backup generation as well once we reach that point where that matters.

    Really good explanation of the issue though. Personally, I’m a bit more optimistic about being able to be more flexible demand. Particularly EVs and heat pumps are two areas where a smart grid can help shape demand without even being noticed by the people (apart from cheaper tariffs) as long as the car is fully charged in the morning and the room temperature is maintained.







  • From my experience the “default” experience, which is Docker Desktop, is a pain, due to what you described. In particular, Linux containers and Windows file permissions just don’t mix well.

    Other than that, there’s three options:

    1. Docker Desktop, but used from WSL 2. This seems to be the cleanest solution nowadays. Never personally used it though. Officially supported.
    2. Installing Docker inside WSL 2. Configuring this correctly is a bit of a pain and not really supported AFAIK.
    3. Installing Docker in a VM, using the integrated Hyper-V functionality for example. The least amount of integration, but most reliable.

  • It doesn’t make any sense to me from the perspective that I’ve approached it.

    I think you’ve already identified the issue. Docker is pretty “simple”, but you’ve got to approach it from the right angle or else it doesn’t make sense. Apart from suggesting the official documentation I can’t give you much advice on how to learn it because my path to understanding Docker was pretty much just trying things out and iterating on it. That said here’s a tips that could help:

    • If you aren’t using Docker Compose already, you really should. Just having your entire configuration for a service in a single file really helps.
    • Aside from debugging, you normally aren’t meant to run commands manually in a container. It’s best to act like every container is just a black box that simply does its thing.
    • If you need to edit config files, the easiest way is to just directly on the host if you’re using bind mount volumes, or spin up a temporary container running Debian or Alpine for example that also has the Docker Volume mounted.

    As @housepanther@lemmy.goblackcat.com has already mentioned, building your own images is also pretty helpful since it strips a lot of the “black magic” away and teaches you how to further “mod” existing images.


  • I’d guess that it might be related to how you’ve set up the virtual network adapter. This depends on the specifc virtualization software you use, but the adapter for HA should be be set to something called bridged network, meaning the VM gets its own IP on your home network, no routing or NAT in between. HA will struggle to connect with devices otherwise, as all these protocols weren’t designed to work across multiple networks.



  • If you need something that packs more power than a Pi while still being somewhat energy efficient and small form factor then yes, the NUCs are generally pretty good.

    Personally I’m running a NUC from 2018 with a 8th gen i3 that’s pulling double duty as both a server running about ~10 docker containers, and as a media center.

    The server part still runs flawlessly, though the media center part is getting a bit slow when opening websites on it.

    As others have already said, one drawback is that there’s only space for one drive, so at least a NAS or external USB storage is recommended for backups.