@echo off setlocal cd %~dp0\.. set target=%1 if "%target%"=="" set target=gcc_debug set linuxhome=%homedrive%%homepath%\linux_home if not exist %linuxhome% ( mkdir %linuxhome% mkdir %linuxhome%\config mkdir %linuxhome%\.bts\conf ) docker run --rm -it -p 8000:8000 -p 8001:8001 -p 2000:22 -h %computername%_spark -v %cd%:/bts -v %linuxhome%:/root/ --security-opt seccomp=unconfined bluetradingsystems/linux_docker bash -c "cd /bts/tools/; ./build_and_run.sh %target%"