Open
Description
What Happened?
Minikube + Docker driver cannot support apparmor on MacOS . What can I do to support apparmor ? What if OS is Ubuntu?
Attach the log file
root@k8s-v1:~# apparmor_parser -r /etc/apparmor.d/deny-proc-environ
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
root@k8s-v1:~# modprobe apparmor
modprobe: FATAL: Module apparmor not found in directory /lib/modules/6.10.14-linuxkit
root@k8s-v1:~# systemctl status apparmor
○ apparmor.service - Load AppArmor profiles
Loaded: loaded (/lib/systemd/system/apparmor.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Condition: start condition failed at Fri 2025-06-27 02:58:53 UTC; 1s ago
└─ ConditionSecurity=apparmor was not met
Docs: man:apparmor(7)
https://gitlab.com/apparmor/apparmor/wikis/home/
Jun 26 03:27:31 k8s-v1.22.16-m02 systemd[1]: Condition check resulted in Load AppArmor profiles being skipped.
Operating System
macOS (Default)
Driver
Docker