Prevent massive amount of apparmor errors

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-09-01 16:20:45 +02:00
parent abeecd456e
commit 29f6e85352
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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 \