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

@ -406,7 +406,7 @@ class DockerActionManager
}
$shmSize = $container->GetShmSize();
if ($shmSize !== '') {
if ($shmSize > 0) {
$requestBody['HostConfig']['ShmSize'] = $shmSize;
}