Changed docker --time command to -t since --time is deprecated on v28

This commit is contained in:
ShadowArcanist committed 2025-10-09 13:26:10 +05:30
1 parent 503da6da21
commit b39690dfa2
8 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ class StopApplication
foreach ($containersToStop as $containerName) {
instant_remote_process(command: [
"docker stop --time=30 $containerName",
"docker stop -t 30 $containerName",
"docker rm -f $containerName",
], server: $server, throwError: false);
}
@@ -26,7 +26,7 @@ class StopApplicationOneServer
if ($containerName) {
instant_remote_process(
[
"docker stop --time=30 $containerName",
"docker stop -t 30 $containerName",
"docker rm -f $containerName",
],
$server