8 lines
412 B
Batchfile
8 lines
412 B
Batchfile
set linuxhome=%homedrive%%homepath%\linux_home
|
|
if not exist %linuxhome% (
|
|
mkdir %linuxhome%
|
|
mkdir %linuxhome%\config
|
|
mkdir %linuxhome%\.bts\conf
|
|
)
|
|
docker run --rm -i -p 8000:8000 -p 8001:8001 -p 2000:22 %* -v %linuxhome%:/root/ -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
|