Not clear how to configure public registry with auth for upload
Bug #1808357 reported by
Tom Haddon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Docker Registry Charm |
Fix Released
|
Critical
|
Kevin W Monroe |
Bug Description
We'd like to use this charm to configure a publicly available registry with authenticated upload for images.
It seems like if we configure basic auth, we can't then have non-authenticated users download images.
Changed in layer-docker-registry: | |
importance: | Undecided → Critical |
Changed in layer-docker-registry: | |
assignee: | nobody → Kevin W Monroe (kwmonroe) |
status: | New → Triaged |
To post a comment you must log in.
This will be challenging. I don't see a clean way for a single registry to provide both unauth'd pulls and auth'd pushes. Topics I've read lean towards 2 registries that share a storage backend with a proxy that allows pulls / blocks pushes for the unauth'd client and allows all requests for the auth'd client.
I'm working on a bundle that does just that. Hopefully this will satisfy this request.