Skip to content

A small python script to access a docker registry using token authorization and check whether an image exists

License

Notifications You must be signed in to change notification settings

redheads/registry-image-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Registry Image Checker

This is a CLI to access a docker registry using token authorization and check whether an image exists. It prints the found tags as json. It is based on the script provided by Harbor.

Usage

./registry-image-check.py <registry/image:tag> <username> <password>

The tag is optional. If no tag is given all tags are listed.

Return value

  • 0 if at least one image was found.
  • 1 if something goes wrong (python throws an exception).
  • 2 if no image/tag was found.

About

A small python script to access a docker registry using token authorization and check whether an image exists

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages