mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-11-11 06:30:49 +08:00
fix borg backup restore not working anymore
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
c5b5300e9c
commit
ca1b736cf7
1 changed files with 3 additions and 4 deletions
|
|
@ -525,12 +525,11 @@ class DockerActionManager
|
||||||
$requestBody['HostConfig']['CapDrop'] = ['NET_RAW'];
|
$requestBody['HostConfig']['CapDrop'] = ['NET_RAW'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($container->isApparmorUnconfined()) {
|
|
||||||
$requestBody['HostConfig']['SecurityOpt'] = ["apparmor:unconfined"];
|
|
||||||
}
|
|
||||||
|
|
||||||
// Disable SELinux for AIO containers so that it does not break them
|
// Disable SELinux for AIO containers so that it does not break them
|
||||||
$requestBody['HostConfig']['SecurityOpt'] = ["label:disable"];
|
$requestBody['HostConfig']['SecurityOpt'] = ["label:disable"];
|
||||||
|
if ($container->isApparmorUnconfined()) {
|
||||||
|
$requestBody['HostConfig']['SecurityOpt'] = ["apparmor:unconfined", "label:disable"];
|
||||||
|
}
|
||||||
|
|
||||||
$mounts = [];
|
$mounts = [];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue