Skip to content

Commit 1f67e74

Browse files
authored
fix: container status reporting for "created" containers (#11)
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`.
1 parent d1948e6 commit 1f67e74

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utils/container-status.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ async function getContainerStatus(
203203
resolve("stopped");
204204
} else {
205205
switch (stdout.trim()) {
206-
case "created":
207206
case "restarting":
208207
case "running":
209208
resolve("running");

0 commit comments

Comments
 (0)