Commit efc5e15e authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Add device cgroup rules

parent 47877f2e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@ services:
        devices:
            - /dev/kvm
            - /dev/vhost-net
        device_cgroup_rules:
            - 'c *:* rwm'
        cap_add:
            - NET_ADMIN                       
        ports: