-
Notifications
You must be signed in to change notification settings - Fork 54
remove references to hub.cnlabs.io from duffle? #426
Comments
Yes, I completely agree with that we should remove the default reference, as it is also causing a bunch of other small inconveniences when referencing bundles. |
Do we need the concept of a remote URL inside of the local storage? Is this mainly for namespacing? I'm not 100% clear on what the local store is supposed to provide, but we have to figure out the following:
I think Docker made a mistake by doing the |
Hey @technosophos! I'll try and answer your questions as best as I can.
This (and the follow-up discussion/arguments you point out) are good design questions. I hadn't considered the issue where if we drop the concept of a "default registry", how do we resolve
If you create
This is the part where it gets confusing. With this proposal, A potential option is to allow for a "default registry" for duffle, where if a user sets their global duffle configuration to set their default registry to To answer the second question, if you build a bundle and call it
Ideally if you change just the destination repository (the name), only the name in repositories.json would change, but the content would stay the same. The operation would not change the underlying bundle's content; only the reference in Basically, repositories.json would change from
to
This may require a change in bundle.cnab: we might need to remove the
I think I answered that in the last question but please let me know if I missed something.
I'd love to hear more on this! Would you be free some time to pair on this topic? I'd love to hear your thoughts/opinions on the docker image name conflation problem and possibly whiteboard this out. |
With #420 in place, one must log into https://hub.cnlabs.io before searching/pushing/pulling bundles from "the hub". This makes it a great opportunity to consider whether or not we want to launch duffle/CNAB with a "CNAB Hub" at all.
I'm wondering if we should remove the concept of a "default" repository entirely from duffle. The only real change to duffle would be here, when duffle signs bundles under hub.cnlabs.io (cc @radu-matei).
The main value add here would be Duffle removing its tight dependency on a default registry. This doesn't mean that we need to stop development on https://hub.cnlabs.io, but it opens up the ecosystem to innovate. e.g. Docker Enterprise users may opt for DockerHub, Azure customers would adopt ACR instances, etc.
The text was updated successfully, but these errors were encountered: