diff --git a/php/src/Docker/DockerActionManager.php b/php/src/Docker/DockerActionManager.php index 3a3d9c61..d80b7e8e 100644 --- a/php/src/Docker/DockerActionManager.php +++ b/php/src/Docker/DockerActionManager.php @@ -499,6 +499,9 @@ class DockerActionManager } $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) {