mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 22:46:55 +00:00
fix tmpfs creation
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
251f0b89a0
commit
89b3495740
1 changed files with 5 additions and 2 deletions
|
|
@ -430,9 +430,12 @@ class DockerActionManager
|
|||
$requestBody['HostConfig']['ShmSize'] = $shmSize;
|
||||
}
|
||||
|
||||
$tmpfs = $container->GetTmpfs();
|
||||
$tmpfs = [];
|
||||
foreach($container->GetTmpfs() as $tmp) {
|
||||
$tmpfs[$tmp] = "";
|
||||
}
|
||||
if (count($tmpfs) > 0) {
|
||||
$requestBody['HostConfig']['Tmpfs'] = $tmpfs;
|
||||
$requestBody['HostConfig']['Tmpfs'] = $tmpfs;
|
||||
}
|
||||
|
||||
$capAdds = $container->GetCapAdds();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue