From 0eef292513b93e39887770b5b0f260ffc3dd76d8 Mon Sep 17 00:00:00 2001 From: H Vs Date: Mon, 24 Feb 2025 16:32:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ai-ops-wx_run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ai-ops-wx_run.sh b/ai-ops-wx_run.sh index f6eaf20..1dbb55a 100644 --- a/ai-ops-wx_run.sh +++ b/ai-ops-wx_run.sh @@ -6,10 +6,10 @@ if [[ ${environment} == 'production' ]]; then echo "开始远程构建容器" docker stop ai-ops-wx || true docker rm ai-ops-wx || true - docker rmi -f $(docker images | grep registry.cn-shanghai.aliyuncs.com/ssjl/ai-ops-wechat | awk '{print $3}') + docker rmi -f $(docker images | grep registry.cn-shanghai.aliyuncs.com/gps_card/ai-ops-wechat | awk '{print $3}') #docker login --username=telpo_linwl@1111649216405698 --password=telpo#1234 registry.cn-shanghai.aliyuncs.com docker login --username=rzl_wangjx@1111649216405698 --password=telpo.123 registry.cn-shanghai.aliyuncs.com - docker pull registry.cn-shanghai.aliyuncs.com/ssjl/ai-ops-wechat:$version + docker pull registry.cn-shanghai.aliyuncs.com/gps_card/ai-ops-wechat:$version docker run -p 6560:5000 -d -e environment=production -v /home/data/ai-ops-wx/logs:/app/logs --restart=always --name ai-ops-wx registry.cn-shanghai.aliyuncs.com/ssjl/ai-ops-wechat:$version --environment=production; #删除产生的None镜像 docker rmi -f $(docker images | grep none | awk '{print $3}')