10 lines
483 B
Batchfile
10 lines
483 B
Batchfile
@setlocal
|
|
@set linuxhome=%homedrive%%homepath%\linux_home
|
|
if not exist %linuxhome% (
|
|
mkdir %linuxhome%
|
|
mkdir %linuxhome%\config
|
|
mkdir %linuxhome%\.bts\conf
|
|
)
|
|
@cd %~dp0\..
|
|
docker run --rm -i -p 8000:8000 -p 8001:8001 -p 2000:22 %* --security-opt seccomp=unconfined -v %linuxhome%:/root/ -v %cd%:/bts -h %COMPUTERNAME%_spark -t bluetradingsystems/linux_docker /bin/bash -c "/usr/sbin/sshd -D & (cd ~/config && python -m SimpleHTTPServer >/dev/null 2>/dev/null) & /bin/bash
|