Files
spark/src/sdk/sdk_shell.sh
T
2018-12-03 17:21:46 -05:00

24 lines
654 B
Bash

#/bin/bash
docker kill bts_sdk
docker rm bts_sdk
docker run \
--restart=unless-stopped \
--net host \
--shm-size=1024m \
--cap-add=SYS_PTRACE --security-opt seccomp=unconfined \
-h $(hostname)_spark \
-w $PWD \
-u root \
-v /home:/home \
--name bts_sdk \
-d \
-t bluetradingsystems/linux_docker \
/bin/bash #-c "(sudo /usr/sbin/sshd -p 2323) & /bin/bash --login"
docker exec -it bts_sdk /bin/bash
#some windows users may find it convenient to start ssh in the docker, in that case use uncomment the -c "( ... portion above
#and use ssh instead of docker exec