dotfiles/config/updateall/scripts/50-docker

14 lines
162 B
Text
Raw Normal View History

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