Prerequisite: You must have Sysbox installed on the host.
-
Build the
Dockerfile(follow it's instructions at the top) -
Run:
docker run --rm -it --runtime sysbox-runc -p 8123:8123 --ulimit rtprio=-1:-1 --name ha hasys bash -
Run this after above has started:
docker exec -it ha ./run.sh
Eventually HA should come up. However, there are a lot of serious problems and you won't have full functionality. I had 3 repairs mentioned:
- Unhealthy system - Not privileged
- Unsupported system - CGroup version
- Unsupported system - Network Manager issues
Was able to add and control a wifi bulb then called it a success and stopped there!
Misc notes:
- Installed
iputils-pingbecause ping was required at least during install of supervisor. - Used version 23.0.6-1 of docker because there's a problem with sysbox and using --network=host in Docker v24 - nestybox/sysbox#712
BYPASS_OS_CHECK=truebecause debian:12 isn't yet supported by supervisormount --make-shared /because supervisor was complaining about this at runtime and wouldn't startrun.shbecause some things needed to be run after starting the container so systemd was running--ulimit rtprio=-1:-1because the audio container tries to set a ulimit. This should maybe be set to different values.