diff --git a/docker_build_run.sh b/docker_build_run.sh index 23093b2..a7bd1ef 100644 --- a/docker_build_run.sh +++ b/docker_build_run.sh @@ -26,7 +26,10 @@ create_docker_mynet() { # 执行docker网络mynet创建 create_docker_mynet +docker rm -f bj-rtsts-server docker rmi -f bj-rtsts-server docker build --rm=true -f ./Dockerfile -t bj-rtsts-server:1.0 ./ docker run --name bj-rtsts-server --restart=always --network mynet --ip 192.168.53.191 -d -p 9091:9091 -v /usr/local/joylink/logs/bjrtsts:/logs/bjrtsts bj-rtsts-server:1.0 bj-rtsts-server -config $CONFIG + +docker image prune -a