add init flag to all containers

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-08-10 16:41:47 +02:00
parent 1b1626fe56
commit 4c0e30d49d
9 changed files with 39 additions and 0 deletions

View file

@ -272,6 +272,11 @@ class ContainerDefinitionFetcher
$tmpfs = $entry['tmpfs'];
}
$init = true;
if (isset($entry['init'])) {
$init = $entry['init'];
}
$containers[] = new Container(
$entry['container_name'],
$displayName,
@ -292,6 +297,7 @@ class ContainerDefinitionFetcher
$nextcloudExecCommands,
$readOnlyRootFs,
$tmpfs,
$init,
$this->container->get(DockerActionManager::class)
);
}