Created
July 7, 2024 21:43
-
-
Save skrashevich/d18dc9aaa969f3ae42df67436203cabc to your computer and use it in GitHub Desktop.
ha-supervisor-run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d \ | |
--name hassio_supervisor \ | |
--privileged \ | |
--restart no \ | |
--network bridge \ | |
--network-alias supervisor \ | |
--network-alias 55181c99d6f4 \ | |
--cap-add=NET_ADMIN \ | |
--security-opt apparmor=hassio-supervisor \ | |
--security-opt label=disable \ | |
-e SUPERVISOR_MACHINE=qemux86-64 \ | |
-e SUPERVISOR_SHARE=/mnt/data/supervisor \ | |
-e SUPERVISOR_NAME=hassio_supervisor \ | |
-e PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ | |
-e LANG=C.UTF-8 \ | |
-e S6_BEHAVIOUR_IF_STAGE2_FAILS=2 \ | |
-e S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \ | |
-e S6_CMD_WAIT_FOR_SERVICES=1 \ | |
-e S6_SERVICES_READYTIME=50 \ | |
-e UV_EXTRA_INDEX_URL=https://wheels.home-assistant.io/musllinux-index/ \ | |
-e S6_SERVICES_GRACETIME=10000 \ | |
-e SUPERVISOR_API=http://localhost \ | |
-e CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1 \ | |
-v /run/dbus:/run/dbus:ro \ | |
-v /run/supervisor:/run/os:rw \ | |
-v /run/udev:/run/udev:ro \ | |
-v /etc/machine-id:/etc/machine-id:ro \ | |
-v /mnt/data/supervisor:/data:rw,slave \ | |
-v /run/docker.sock:/run/docker.sock:rw \ | |
-v /run/containerd/containerd.sock:/run/containerd/containerd.sock:rw \ | |
-v /run/systemd-journal-gatewayd.sock:/run/systemd-journal-gatewayd.sock:rw \ | |
ghcr.io/home-assistant/amd64-hassio-supervisor:latest \ | |
/init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment