We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b1e46d commit 753526fCopy full SHA for 753526f
scripts/test-mapeo-config.sh
@@ -55,7 +55,8 @@ wait_for_container() {
55
56
# Wait for container to be running
57
for ((i=1; i<=max_attempts; i++)); do
58
- if [ "$(docker inspect -f {{.State.Running}} "$container_name" 2>/dev/null)" == "true" ]; then
+ # docker inspect exits non-zero while container is starting/absent; suppress to avoid set -e abort
59
+ if [ "$(docker inspect -f {{.State.Running}} "$container_name" 2>/dev/null || true)" == "true" ]; then
60
break
61
fi
62
0 commit comments