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"

Output the size of all child directories in Linux
Get the size in MB/GB of all child folders. We will be using the du utility, short for disk usage. Command: sudo du -sh * Breakdown: -s, --summarize display only a total for each argument -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G) * Wildcard to

Update all Docker Images
Unfortunately, Docker does not have a command to update all images however this command will accomplish the same: sudo docker images |grep -v REPOSITORY|awk ‘{print $1}’|sudo xargs -L1 docker pull Credit: https://www.googlinux.com/how-to-update-all-docker-images/ Use this as a bash alias: update-i…
