11 lines
160 B
Bash
Executable file
11 lines
160 B
Bash
Executable file
#!/usr/bin/env sh
|
|
cd ~/docker || exit
|
|
|
|
for i in *; do (set -e
|
|
cd "$i"
|
|
docker-compose pull
|
|
docker-compose up -d
|
|
) & done
|
|
wait
|
|
|
|
docker image prune -f
|