mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-15 07:48:14 +01:00
Update dockcheck.sh
added a simple progress indicator ......
This commit is contained in:
parent
61d0ff7c38
commit
929df7b376
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ fi
|
|||
### Check the image-hash of every running container VS the registry
|
||||
for i in $(docker ps --format '{{.Names}}')
|
||||
do
|
||||
printf ". "
|
||||
RepoUrl=$(docker inspect $i --format='{{.Config.Image}}')
|
||||
LocalHash=$(docker image inspect $RepoUrl --format '{{.RepoDigests}}' | sed -e 's/.*sha256/sha256/' -e 's/\]$//')
|
||||
RegHash=$(./regctl image digest --list $RepoUrl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue