修复docker自动更新,问题
This commit is contained in:
parent
65ab613183
commit
7a8ceb85ec
@ -45,8 +45,8 @@ case $pick in
|
|||||||
fi
|
fi
|
||||||
cat > "${path}/up-docker_compose.sh" << EOF
|
cat > "${path}/up-docker_compose.sh" << EOF
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
docker_path="${web_path}"
|
web_path="${web_path}"
|
||||||
for dir in "web_path"/*/; do
|
for dir in "\$web_path"/*/; do
|
||||||
cd "\$dir" || exit
|
cd "\$dir" || exit
|
||||||
sudo docker compose pull
|
sudo docker compose pull
|
||||||
sudo docker compose up -d
|
sudo docker compose up -d
|
||||||
|
Loading…
Reference in New Issue
Block a user