Open
Description
Problem Statement
The label io.balena.features.sysfs
mounts the host /sys
to the container at /sys
, but it doesn't mount /sys/fs/cgroup
because it is a separate file system. As a result, we are unable to use systemd
inside Docker containers when using the standard Balena deployment scheme (e.g. Balena push).
Possible Solution
In balena-supervisor/src/compose/utils.ts
, add the following line to support this bind mount:
'io.balena.features.cgroupfs': () => service.config.volumes.push('/sys/fs/cgroup:/sys/fs/cgroup'),
Metadata
Metadata
Assignees
Labels
No labels