HA supervised inside docker container (docker inside docker)

Able to run HA supervised with this setup:

  1. Xiaomi Note 8 ginkgo
  2. kernel with additional stuff for docker
    (check your config https://github.com/moby/moby/raw/master/contrib/check-config.sh)
  3. Drodian 12 OS (debian 12 variation)
  4. Docker on btrfs (because
    overlayfs can’t be used on top of overlayfs) Use the BTRFS storage driver | Docker Documentation
  5. Alpine container with --privileged --network=host, entry point- init
  6. HA in alpine container was installed with this guide GitHub - kuba2k2/alpine-home-assistant: Home Assistant Supervised on Alpine Linux

If you can’t install addons due “no connection”

ha network reload

I compiled kernel with ch341 drivers, but additional command required to have /dev/ttyUSB0

mknod /dev/ttyUSB0 c 188 0





HA core in docker container in termux (Android 13, kernel with additional cgroups, namespaces etc)

I don’t know if it’s possible to run HA supervised on Android without systemd. Later will try.