I don’t really want to run Docker on my RPi, what I’d like to do is grab the HA operating system image and get systemd-nspawn to run it. And I’d like to migrate my existing config.
Right now it’s running core on a device that is primarily a fileserver. I’d like to keep it running on that physical device, which will continue to run RPI OS, but just have that RPi OS boot HA OS inside a whole-OS container via systemd-nspawn, and pass the USB devices and a veth into that container.
I grabbed the disk image, but the partition table has many partitions on it and systemd-nspawn can’t figure out which one is the root partition (and honestly neither can I).
It looks like maybe the OCI support in systemd-nspawn together somehow with the image normally used by docker might be the way to go also. Anyone with any systemd-nspawn experience?
You might consider Podman. It uses the same basic interfaces (and images) as Docker but does not require running a daemon. (And it works nicely as non-root!)
You need to pass them in as --device. I’m still working on my own configuration… I have the best intentions of writing it up all nicely once I have it as I want. But … I’ll go ahead and start a thread with some bits from what I have now that might be useful to others.