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

This commit is contained in:
ShadowArcanist
2025-10-09 13:26:10 +05:30
parent 503da6da21
commit b39690dfa2
8 changed files with 8 additions and 8 deletions

View File

@@ -2890,7 +2890,7 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");
try {
$timeout = isDev() ? 1 : 30;
$this->execute_remote_command(
["docker stop --time=$timeout $containerName", 'hidden' => true, 'ignore_errors' => true],
["docker stop -t $timeout $containerName", 'hidden' => true, 'ignore_errors' => true],
["docker rm -f $containerName", 'hidden' => true, 'ignore_errors' => true]
);
} catch (Exception $error) {