mirror of
https://github.com/docker/cli.git
synced 2026-08-29 18:14:34 -05:00
d90edcd897dbb86fcff60faffe5e7769eb937fcb
Writing the profile to /etc/apparmor.d, while also manually loading it into the kernel results in quite a bit of confusion. In addition, it means that people using apparmor but have /etc mounted read-only cannot use apparmor at all on a Docker host. Fix this by writing the profile to a temporary directory and deleting it after it's been inserted. Signed-off-by: Aleksa Sarai <asarai@suse.de> Upstream-commit: 2f7596aaef3a9f8ec1f2d0937462d9263bee8b6b Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%