Files
mtusi2026lab3/scripts/stop-one.bat
T

7 lines
179 B
Batchfile

@echo off
if "%TARGET_INSTANCE_ID%"=="" (
echo TARGET_INSTANCE_ID is not set 1>&2
exit /b 2
)
docker compose --env-file .env stop %TARGET_INSTANCE_ID%
exit /b %errorlevel%