diff --git a/start.bat b/start.bat index 377e063..5f710bc 100644 --- a/start.bat +++ b/start.bat @@ -14,6 +14,13 @@ if errorlevel 1 ( goto waitForDocker ) +:waitForDaemon +docker info >nul 2>&1 +if errorlevel 1 ( + timeout /t 1 >nul + goto waitForDaemon +) + echo Starting docker compose cd ".\mediamtx" docker compose up -d