Fix the issue of not finding the config.yml file.

This commit is contained in:
dqzboy
2024-07-19 18:36:47 +08:00
parent 2fac022475
commit 3e732a9350
+2 -2
View File
@@ -1661,7 +1661,7 @@ while true; do
done
break
else
WARN "跳过WEB服务安装"
WARN "跳过WEB服务安装步骤"
break
fi
else
@@ -2422,7 +2422,7 @@ for container_name in $container_names; do
if [ -z "$specified_name" ]; then
specified_name=$container_name
fi
if docker exec $container_name grep -q "auth" /etc/docker/registry/config.yml; then
if docker exec $container_name grep -q "auth" /etc/distribution/config.yml; then
auth_containers+=("$specified_name")
fi
done