mirror of
https://github.com/luzifer-ansible/netdata.git
synced 2024-12-23 01:21:18 +00:00
Prevent massive amount of apparmor errors
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
abeecd456e
commit
29f6e85352
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
||||||
ExecStartPre=-/usr/bin/docker rm -f netdata
|
ExecStartPre=-/usr/bin/docker rm -f netdata
|
||||||
|
|
||||||
ExecStart=/usr/bin/docker run -d --cap-add SYS_PTRACE \
|
ExecStart=/usr/bin/docker run -d --cap-add SYS_PTRACE \
|
||||||
|
--security-opt=apparmor:unconfined \
|
||||||
-v /proc:/host/proc:ro \
|
-v /proc:/host/proc:ro \
|
||||||
-v /sys:/host/sys:ro \
|
-v /sys:/host/sys:ro \
|
||||||
-v /etc/netdata:/override:ro \
|
-v /etc/netdata:/override:ro \
|
||||||
|
|
Loading…
Reference in a new issue