mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
tests/main.sh fixed docker compose cmd
This commit is contained in:
parent
400a378351
commit
43a62c941f
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ runNetcheck() {
|
|||
sleep 3
|
||||
# wait for netcheck to finish checking
|
||||
while true; do
|
||||
STATUS=$( docker inspect --format='{{json .State.Health.Status}}' $(docker-compose ps --quiet netcheck) )
|
||||
STATUS=$( docker inspect --format='{{json .State.Health.Status}}' $(docker compose ps --quiet netcheck) )
|
||||
if [[ "$STATUS" != "starting" ]]; then
|
||||
$DEBUG && echo "Container 'netcheck' health status: '$STATUS', continue"
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue