mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-29 16:06:30 +00:00
Add access to containerd for Supervisor (#2102)
Add direct access to Docker's containerd instance by passing in its GRCP socket. This can be useful to talk to the containerd GRPC API directly, which exposes more information than the Docker API (e.g. OOM kill events).
This commit is contained in:
parent
53818a1325
commit
303f63c222
@ -82,6 +82,7 @@ if [ -z "${SUPERVISOR_CONTAINER_ID}" ]; then
|
||||
--privileged --security-opt apparmor="hassio-supervisor" \
|
||||
--oom-score-adj=-300 \
|
||||
-v /run/docker.sock:/run/docker.sock:rw \
|
||||
-v /run/docker/containerd/containerd.sock:/run/docker/containerd/containerd.sock:rw \
|
||||
-v /run/systemd-journal-gatewayd.sock:/run/systemd-journal-gatewayd.sock:rw \
|
||||
-v /run/dbus:/run/dbus:ro \
|
||||
-v /run/supervisor:/run/os:rw \
|
||||
|
Loading…
x
Reference in New Issue
Block a user