@echo off if "%TARGET_INSTANCE_ID%"=="" ( echo TARGET_INSTANCE_ID is not set exit /b 1 ) docker kill %TARGET_INSTANCE_ID%