diff --git a/docker_build_run.sh b/docker_build_run.sh index a7bd1ef..20b4cd7 100644 --- a/docker_build_run.sh +++ b/docker_build_run.sh @@ -32,4 +32,5 @@ 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 +# 删除构建过程产生的none镜像 +docker rmi -f `docker images | grep '' | awk '{print $3}'`