docker compose自动更新缩减错误

This commit is contained in:
lsy 2024-07-26 21:37:01 +08:00
parent 181763db42
commit 2f1fdd72c2

View File

@ -6,5 +6,5 @@ docker_path="/var/www"
for dir in "$docker_path"/*/; do for dir in "$docker_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
done done