From 5b7c9a096fce0b28e374328ccc3d2f8d67307d36 Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 20 Jul 2023 16:44:24 +0200 Subject: [PATCH] fix bind propagation Signed-off-by: Simon L --- php/src/Docker/DockerActionManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/src/Docker/DockerActionManager.php b/php/src/Docker/DockerActionManager.php index 9fdbf1c7..45727a37 100644 --- a/php/src/Docker/DockerActionManager.php +++ b/php/src/Docker/DockerActionManager.php @@ -483,7 +483,7 @@ class DockerActionManager if ($volume->name !== $this->configurationManager->GetNextcloudMount()) { continue; } - $mounts[] = ["Type" => "bind", "Source" => $volume->name, "Target" => $volume->mountPoint, "ReadOnly" => !$volume->isWritable, "Propagation" => "rshared"]; + $mounts[] = ["Type" => "bind", "Source" => $volume->name, "Target" => $volume->mountPoint, "ReadOnly" => !$volume->isWritable, "BindOptions" => [ "Propagation" => "rshared"]]; } }