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
@@ -54,7 +54,7 @@ class StopService
$timeout = count($containersToStop) > 5 ? 10 : 30;
$commands = [];
$containerList = implode(' ', $containersToStop);
$commands[] = "docker stop --time=$timeout $containerList";
$commands[] = "docker stop -t $timeout $containerList";
$commands[] = "docker rm -f $containerList";
instant_remote_process(
command: $commands,