From c90c5543a0b8ec55be2f5dc05ea729bd557b5963 Mon Sep 17 00:00:00 2001 From: Chance Cardona <41308677+chancecardona@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:23:43 -0600 Subject: [PATCH] Fix non unique cgroup validation error (#372) --- docker-compose.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 84b18c74..ce0be75c 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -22,12 +22,7 @@ services: agent_bridge: extends: base privileged: true - # Allow the user to use the host's network video4linux and usb_device devices. - # "c 81:* rmw": This rule specifies that the container has read, write, and mknod access (rmw) to all character devices (c) with a major number of 81 (video4linux). - # "c 189:* rmw": This rule gives the container read, write, and mknod access (rmw) to all character devices (c) with a major number of 189 (usb_device). - device_cgroup_rules: - - "c 81:* rmw" - - "c 189:* rmw" + # This service relies on cgroup_rules defined in base which allow the user to use the host's network video4linux and usb_device devices. depends_on: rest_api: condition: service_healthy