From 2cd10ad16da3d9e035c0879768008be5e1efc88d Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Mon, 13 Nov 2023 13:38:09 +0800 Subject: [PATCH] Remove `--rmi` --- backend/stack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/stack.ts b/backend/stack.ts index f582c49..311bddb 100644 --- a/backend/stack.ts +++ b/backend/stack.ts @@ -149,7 +149,7 @@ export class Stack { async delete(socket?: DockgeSocket) : Promise { const terminalName = getComposeTerminalName(this.name); - let exitCode = await Terminal.exec(this.server, socket, terminalName, "docker", [ "compose", "down", "--remove-orphans", "--rmi", "all" ], this.path); + let exitCode = await Terminal.exec(this.server, socket, terminalName, "docker", [ "compose", "down", "--remove-orphans", "all" ], this.path); if (exitCode !== 0) { throw new Error("Failed to delete, please check the terminal output for more information."); }