camallo / dkregistry-rs

A pure-Rust asynchronous library for Docker Registry API v2
Apache License 2.0
62 stars 39 forks source link

Allow authentication without credentials for docker.io repo #168

Closed jordiolivares closed 4 years ago

jordiolivares commented 4 years ago

Before the refactor of the auth logic (5a4ec71136d3c70d3675f11719a0788cb28eea7f) we could pull from docker.io without credentials.

After the commit that behaviour has changed and we unfortunately need to provide valid credentials as otherwise we can't pull from Docker Hub.

This PR adds back support for pulling from Docker Hub

lucab commented 4 years ago

Any objections to merging this @lucab?

Nope, LGTM.