yodle / docker-registry-client

A Python REST client for the Docker Registry
Apache License 2.0
58 stars 58 forks source link

Enh: Add accept field in header for v2 to ensure we have v2 images (u… #24

Closed Seb-Solon closed 8 years ago

Seb-Solon commented 8 years ago

…seful for deletion)

This header will tell the registry (version > 2.3) to return v2 manifest. This is necessary when deleting images in such versions.

See : https://github.com/docker/distribution/blob/master/docs/spec/api.md#deleting-an-image