Commit 1c9d865c authored by Kumar Gala's avatar Kumar Gala

docker-compose: dispatcher: Add security_opt for apparmor

For USB mass storage to work On systems with apparmor we need to set
the security_opt to 'apparmor:unconfined' otherwise we aren't able to
mount the USB mass storage device.

This is based on comments in this thread:

https://github.com/moby/moby/issues/16429Signed-off-by: Kumar Gala's avatarKumar Gala <kumar.gala@linaro.org>
parent 47b298c1
......@@ -91,6 +91,8 @@ services:
devices:
- /dev/kvm # needed for QEMU
- /dev/net/tun # needed for QEMU
security_opt:
- apparmor:unconfined # needed for usb mass storage
cap_add:
- NET_ADMIN # needed for QEMU
- SYS_ADMIN # needed for usb mass storage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment