Skip to content

Commit

Permalink
feat: Add device cgroup rules
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed May 25, 2023
1 parent a0176b6 commit ca25866
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 ca25866

Please sign in to comment.