jenkins docker sop

docker container ps -all --filter "name=$IMAGE" --format {{.ID}} |xargs --no-run-if-empty docker container stop
docker container ps -all --filter "name=$IMAGE" --format {{.ID}} |xargs --no-run-if-empty docker container rm

posted @ 2020-09-18 18:07  冬天不眠  阅读(127)  评论(0编辑  收藏  举报