From c68d16b360e560e6c55dbc3da01cdbe886a01806 Mon Sep 17 00:00:00 2001 From: Kiolow Date: Sat, 11 Jan 2025 13:04:30 +0800 Subject: [PATCH] =?UTF-8?q?fix=20bug,=20=E4=BF=AE=E6=94=B9=E5=88=A0?= =?UTF-8?q?=E9=99=A4"=E6=AD=A3=E5=9C=A8=E5=88=A0=E9=99=A4=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=E9=95=9C=E5=83=8F"=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/update_docker_images.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/update_docker_images.sh b/bin/update_docker_images.sh index b68b42d..aabc64a 100644 --- a/bin/update_docker_images.sh +++ b/bin/update_docker_images.sh @@ -15,8 +15,8 @@ docker-compose -f $docker_compose_file down echo "正在更新镜像.." docker-compose -f $docker_compose_file pull -echo "删除无用镜像.." -docker rmi $(docker images -f "dangling=true" -q) +echo "正在删除未使用的镜像..." +docker image prune -f echo "正在启动容器.." docker-compose -f $docker_compose_file up -d