Wait for docker daemon to start

This commit is contained in:
Santiago Lo Coco 2024-10-19 09:20:16 +02:00
parent 30269bdc4e
commit 588ce22acb
1 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,13 @@ if errorlevel 1 (
goto waitForDocker goto waitForDocker
) )
:waitForDaemon
docker info >nul 2>&1
if errorlevel 1 (
timeout /t 1 >nul
goto waitForDaemon
)
echo Starting docker compose echo Starting docker compose
cd ".\mediamtx" cd ".\mediamtx"
docker compose up -d docker compose up -d