From 50130522d4f7cfc70148b266ca65e16625ae00ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Pallar=C3=A9s?= Date: Tue, 2 Sep 2025 17:33:41 +0200 Subject: [PATCH] fix: container status reporting for "created" containers The container status tracker reports `created` containers as `running`. This is invalid because a container can be created (e.g. with `docker create ...`) but never started. Now, containers with `created` status are reported as `stopped`. --- src/utils/container-status.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/container-status.ts b/src/utils/container-status.ts index 782323a..65240b3 100644 --- a/src/utils/container-status.ts +++ b/src/utils/container-status.ts @@ -203,7 +203,6 @@ async function getContainerStatus( resolve("stopped"); } else { switch (stdout.trim()) { - case "created": case "restarting": case "running": resolve("running");