mirror of
https://github.com/tiennm99/coolify.git
synced 2026-05-02 06:20:59 +00:00
fix(docker): replace deprecated --time flag with -t for full compatibility across Docker versions (#6807)
This commit is contained in:
@@ -278,7 +278,7 @@ class Previews extends Component
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user