运行特权 Docker 容器加--privileged,运行非特权 Docker 容器加--security-opt apparmor=unconfined,这些都能正常运行。
现在想要运行docker build,并且加了--security-opt apparmor=unconfined参数还是报错:
#8 0.339 runc run failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or directory
请问有什么解决办法吗