Skip to content

Commit

Permalink
Add device cgroup rules
Browse files Browse the repository at this point in the history
Add device cgroup rules
  • Loading branch information
kroese committed May 25, 2023
2 parents a0176b6 + ca25866 commit 7b7c3eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ services:
devices:
- /dev/kvm
- /dev/vhost-net
device_cgroup_rules:
- 'c *:* rwm'
cap_add:
- NET_ADMIN
ports:
Expand Down

0 comments on commit 7b7c3eb

Please sign in to comment.