aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-10-10 18:51:14 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-10-10 18:51:14 -0400
commitf1149a97d42d67dd87b3c5ef411f758fc6671f1b (patch)
tree0db087a00ad641885ca4cc2e7757c73c62d1ec40
parentRemove need for docker network creation (diff)
downloadcli-f1149a97d42d67dd87b3c5ef411f758fc6671f1b.zip
Log containers on unhealthy or not found
-rw-r--r--scripts/lib/docker.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/docker.sh b/scripts/lib/docker.sh
index 8f841bc..db3b786 100644
--- a/scripts/lib/docker.sh
+++ b/scripts/lib/docker.sh
@@ -33,10 +33,12 @@ docker_wait_for_healthy_container() {
;;
"not_found")
log_error "Error: Container '$container_name' not found"
+ log_info "$(docker ps -a)"
return 1
;;
"unhealthy")
log_error "Error: Container '$container_name' is unhealthy"
+ log_info "$(docker ps -a)"
return 1
;;
*)