A Python REST client for the Docker Registry
It's useful for automating image tagging and untagging
The API provides several classes: DockerRegistryClient, Repository, and Image.
DockerRegistryClient has the following methods:
namespaces()-> a list of all namespaces in the registryrepository(repository_name, namespace)-> the corresponding repository objectrepositories()-> all repositories in the registry
Repository has the following methods:
tags()-> a list of all tags in the repositorydata(tag)-> json data associated withtagimage(tag)-> the image associated withtaguntag(tag)-> removetagfrom the repositorytag(tag, image_id)-> applytagtoimage_id
Image has the following methods:
get_layer()-> binary layer data for imageget_json()-> json metadata for imageget_data(field)-> single field from json dataancestry()-> ids for image ancestors
- python-dxf (only supports V2)