mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-10 08:37:02 +00:00
allow scrutiny to access all block devices (#8275)
This commit is contained in:
@@ -478,6 +478,10 @@ readonly class DockerActionManager {
|
||||
$regEx = '/\s+(?=--o:)/';
|
||||
$requestBody['Cmd'] = preg_split($regEx, rtrim($this->configurationManager->collaboraAdditionalOptions));
|
||||
}
|
||||
// Special things for the scrutiny container which should not be exposed in the containers.json
|
||||
} elseif ($container->identifier === 'nextcloud-aio-scrutiny') {
|
||||
// Allow it to access block devices
|
||||
$requestBody['HostConfig']['DeviceCgroupRules'] = ["b *:* rmw"];
|
||||
}
|
||||
|
||||
if (count($mounts) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user