修复docker自动更新,问题

This commit is contained in:
lsy 2024-07-25 22:16:20 +08:00
parent 65ab613183
commit 7a8ceb85ec

View File

@ -45,8 +45,8 @@ case $pick in
fi
cat > "${path}/up-docker_compose.sh" << EOF
#!/bin/bash
docker_path="${web_path}"
for dir in "web_path"/*/; do
web_path="${web_path}"
for dir in "\$web_path"/*/; do
cd "\$dir" || exit
sudo docker compose pull
sudo docker compose up -d