Update start-docker-screen.sh

This commit is contained in:
Whale
2018-12-29 12:16:35 +08:00
committed by GitHub
parent a8934ece05
commit d601f3314c

View File

@@ -6,7 +6,7 @@ if [[ "$cq" = "" ]]; then
fi
sleep 1s
screen -x -S cq -p 0 -X stuff "sudo docker run -it --rm --name cqbot -v "$(pwd)"/cqbot/:/root/ jesse2061/cqbot-swoole"
screen -x -S cq -p 0 -X stuff "sudo docker run -it --rm --net=host --name cqbot -v "$(pwd)"/cqbot/:/root/ jesse2061/cqbot-swoole"
screen -x -S cq -p 0 -X stuff "\n"
screen -x -S cq -p 0 -X stuff "php start.php"
screen -x -S cq -p 0 -X stuff "\n"