From 302ff755935aeae571fa6a609a88dcaf7ad9c305 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Mon, 24 Oct 2022 12:39:51 -0600 Subject: [PATCH] Output docker compose ps results --- app/deploy_system.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/deploy_system.py b/app/deploy_system.py index 7a5a417e..ae32d22e 100644 --- a/app/deploy_system.py +++ b/app/deploy_system.py @@ -82,7 +82,9 @@ def command(ctx, include, exclude, cluster, command): elif command == "ps": if verbose: print("Running compose ps") - docker.compose.ps() + container_list = docker.compose.ps() + for container in container_list: + print(f"id: {container.id}, name: {container.name}") elif command == "logs": if verbose: print("Running compose logs")