|
root / recipes
recipes Plain Text 5 lines 299 B
1
2
3
4
# Mask /sys/kernel/security so dockerd's apparmor.HostSupports() returns false.
# Needed because this is an Incus container with restricted apparmor visibility.
[Service]
ExecStartPre=/bin/sh -c 'test -e /sys/kernel/security/apparmor && mount -t tmpfs -o size=1M tmpfs /sys/kernel/security || true'