mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-27 07:13:20 +08:00
disable selinux for watchtower and docker-socket-proxy
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
b9bcbfdecb
commit
d4e61d2b32
1 changed files with 3 additions and 0 deletions
|
@ -499,6 +499,9 @@ class DockerActionManager
|
||||||
}
|
}
|
||||||
$mounts[] = ["Type" => "bind", "Source" => $volume->name, "Target" => $volume->mountPoint, "ReadOnly" => !$volume->isWritable, "BindOptions" => [ "Propagation" => "rshared"]];
|
$mounts[] = ["Type" => "bind", "Source" => $volume->name, "Target" => $volume->mountPoint, "ReadOnly" => !$volume->isWritable, "BindOptions" => [ "Propagation" => "rshared"]];
|
||||||
}
|
}
|
||||||
|
// Special things for the watchtower and docker-socket-proxy container which should not be exposed in the containers.json
|
||||||
|
} elseif ($container->GetIdentifier() === 'nextcloud-aio-watchtower' || $container->GetIdentifier() === 'nextcloud-aio-docker-socket-proxy') {
|
||||||
|
$requestBody['HostConfig']['SecurityOpt'] = ["label=disabled"];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($mounts) > 0) {
|
if (count($mounts) > 0) {
|
||||||
|
|
Loading…
Reference in a new issue