add image_tag to containers definition

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-08-17 16:28:42 +02:00
parent 2cf6c7401e
commit c69a5d2065
4 changed files with 26 additions and 2 deletions

View file

@ -277,6 +277,11 @@ class ContainerDefinitionFetcher
$init = $entry['init'];
}
$imageTag = '';
if (isset($entry['image_tag'])) {
$imageTag = $entry['image_tag'];
}
$containers[] = new Container(
$entry['container_name'],
$displayName,
@ -298,6 +303,7 @@ class ContainerDefinitionFetcher
$readOnlyRootFs,
$tmpfs,
$init,
$imageTag,
$this->container->get(DockerActionManager::class)
);
}