4 ms·
OTOH, I don't understand by the big cloud platforms don't support caching, or at least make it easy. Azure pulling container dependencies on every build just fe
by MrBuddyCasino 2y ago
OTOH, I don't understand by the big cloud platforms don't support caching, or at least make it easy. Azure pulling container dependencies on every build just feels rude.
- mmbleh 2y agoThese platforms do cache quite a bit. It's just that there is a very high volume of traffic and a lot of it does update pretty frequently (or has to check for updates)
- MrBuddyCasino 2y agoAre you saying they cache transparently? Because I haven't seen that mentioned in the docs.
- martypitt 2y agoGitlab does this, and it works nicely
- terminalbraid 2y agoSeconding, though it does require some setup at least for self-hosted. Gitlab also has a full container registry built in, so it's not difficult to pull the image you want, push it to gitlab, and reference that going forward.
- hahn-kev 2y agoYeah I don't get why I have to setup caching myself for this kind of thing. Like wouldn't it be more efficient to do it lower down in their infra anyway?
- wkat4242 2y agoYes rude and lazy on their part.
- InsomniacL 2y agoIs there any licence constraints? I.e Docker terms of service restrict distribution in this way? Is there any technical restraints? I.e Docker specify no-cache I expect Docker don't want their images cached and would want you to use their service and transform you in to a paying subscriber through limitations on free tier.
- aragilar 2y agoCaching is called out on https://docs.docker.com/docker-hub/usage/manage/ https://docs.docker.com/docker-hub/usage/manage/. My feeling is the way the naming scheme was defined (and subsequent issues around modifying the default registry), docker wanted to try to lock people into using docker hub over allowing public mirrors to be set up easily. This failed, so they've needed to pivot somewhat to reduce their load.
- InsomniacL 2y ago> This failed, so they've needed to pivot somewhat to reduce their load. Or it worked, and now through free tier limitations they get more people sign-up and more people taking paid subs