shm-size must be an int

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-03-31 11:27:11 +02:00
parent 1cae0980cd
commit 8b6bb94539
3 changed files with 5 additions and 5 deletions

View file

@ -218,7 +218,7 @@ class ContainerDefinitionFetcher
$capAdd = $entry['cap_add'];
}
$shmSize = '';
$shmSize = -1;
if (isset($entry['shm_size'])) {
$shmSize = $entry['shm_size'];
}