修复docker自动更新,问题
This commit is contained in:
parent
65ab613183
commit
7a8ceb85ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user