docker inspect bf85f2b6bf52 | egrep -i version "NEXTCLOUD_VERSION=12.0.4" MARIADB_MAJOR=10.2 MARIADB_VERSION=10.2.12+maria~jessie curl https://raw.githubusercontent.com/ hanscees/dockerscripts/master/scripts/get-docker-hub--image-tags.sh > get-public-image-tags.sh chmod +x get-public-image-tags.sh ./get-public-image-tags.sh library/nginx apt-get install jq docker-compose pull docker-compose up -d docker pull mariadb@sha256:12e32f8d1e8958cd076660bc22d19aa74f2da63f286e100fb58d41b740c57006 for image in `cat ImageId-file | egrep RepoId | awk '{print $3}'` ; do echo $image ; docker pull $image done ./get-docker-hub-digest library/nginx 1.15-alpine cat ImageId-file | egrep -v "RepoId|none|^$" | ./check-docker-image-updates.sh @L:The output will be: nginx alpine can be updated: a new version is available also check file UpdateTheseImages cat UpdateTheseImages update available for library/nextcloud:latest update available for library/mariadb:latest update available for mvance/unbound:1.8.3