Update all Docker Containers with docker-compose

This command will cd into each directory and then run a command to fetch the latest images and restart the containers if there is an update.

It makes the assumption that you have a directory per service with a docker-compose file within.

for d in ./*/ ; do (cd "$d" && sudo docker-compose pull && sudo docker-compose --compatibility up -d); done