TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

DigitalOcean Container Registry Now GA

81 pointsby raiyuover 4 years ago

8 comments

lukevpover 4 years ago
I&#x27;m a big DO fan as their pricing models are easier to understand, and use them myself for personal projects, but I would hesitate to use some of their products at an enterprise. The reason is that they do not seem committed to SLAs and offering metrics around their reliability.<p>One example of this is in DO Spaces [1]. Nowhere on their site do they say the durability of the data, or whether they have multiple AZs within one DC for availability, or anything like that. Compare that with AWS S3, where the 11 9&#x27;s of durability is front and center on the page [2]. Marketing Spaces as S3-compatible without providing transparency on the reliability of the underlying storage engine feels disingenuous to me. Especially when, upon investigation, there are several complaints of data loss on the Spaces storage engine with DO not able to provide assistance [3].<p>Now whether that&#x27;s an issue for a container registry, maybe not so much, since you can likely rebuild containers if you have reproducible builds, but it&#x27;s a pattern I&#x27;ve seen across their offerings.<p>[1]: <a href="https:&#x2F;&#x2F;www.digitalocean.com&#x2F;products&#x2F;spaces&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.digitalocean.com&#x2F;products&#x2F;spaces&#x2F;</a> [2]: <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;s3&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;s3&#x2F;</a> [3]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17225665" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17225665</a>
评论 #24983579 未加载
评论 #24983323 未加载
评论 #24983387 未加载
评论 #24983753 未加载
judge2020over 4 years ago
Sadly tokens you use for Container Registry are full access tokens - they can also be used for everything else in the Digital Ocean API. I don&#x27;t see why DO doesn&#x27;t have scoped token support yet.
评论 #24992827 未加载
评论 #24983929 未加载
jlelseover 4 years ago
As an alternative, Scaleway is offering managed container registry too, but with a pay-as-you-go pricing: <a href="https:&#x2F;&#x2F;www.scaleway.com&#x2F;en&#x2F;container-registry&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.scaleway.com&#x2F;en&#x2F;container-registry&#x2F;</a><p>I haven&#x27;t tried it out myself though.
bostonvaulter2over 4 years ago
What is GA? I don&#x27;t see GA mentioned on the page, or any words starting with G, does it mean generally available? If so I don&#x27;t think the abbreviation is necessary.
评论 #24983896 未加载
评论 #24983778 未加载
hacknatover 4 years ago
Seems like everyone is more than willing to step in to fill dockerhub&#x27;s shoes.
评论 #24983639 未加载
jacques_chesterover 4 years ago
As more of these emerge, we need a Registry V3 API with some key changes: images and layers should be (1) expressible as URNs, not URLs and (2) entirely content-addressable. A nice bonus would be to (3) register a URI scheme to make image references more easily identified in other places (such as YAML, YAML oh and YAML).<p>Right now (1) causes the most pain. Suppose you have a reference to &#x27;ubuntu&#x27;. That actually expands to `index.docker.io&#x2F;library&#x2F;ubuntu:latest`. If you decide to switch to a private registry or alternative public registry, you now need to find every instance of `ubuntu` and change it to `registry.example.com&#x2F;library&#x2F;ubuntu:latest`. This is called the &quot;relocation problem&quot;.<p>You might think this is easy: just find references and update them. Firstly, what a colossal hack. Secondly, &quot;just find&quot;ing the references turns out to be a game of whack-a-mole. People stuff image references into all sorts of whacky places and at many different levels of detail. Any such solution is stringly typed and relies on a pile of wobbly heuristics. We need to do better.<p>So what do I mean by &quot;URNs, not URLs&quot;? I mean that an ideal scheme is agnostic to the registry&#x27;s domain. Maven gets this basically correct: every package has its &quot;coordinates&quot; triplet of groupid:artifactid:version. These represent a universal name that can be submitted to any conforming Maven server for resolution into a pile of bits. Maybe they&#x27;re there on the server, maybe they aren&#x27;t, but you won&#x27;t have to change all your references when you switch servers.<p>This leads to (2), content addressability. Perhaps you are confused -- doesn&#x27;t that already exist? Yes, but no. You <i>can</i> add `@sha256:abcdef123...` to your references. But this resolves <i>only within that domain</i> and <i>only for that repository name</i>. I can wind up with a variety of names like `ubuntu@sha256:123abc...`, `library&#x2F;ubuntu@sha256:123abc...` and so on. These are resolved to the same bits, but I am still stuck with the entire nightmare of image relocation.<p>It gets worse with layers. These are addressed by digest, but <i>scoped</i> to repositories. You can&#x27;t ask the registry &quot;do you have layer `10a9b4...`?&quot;, just as you can&#x27;t ask &quot;do you have an existing image of any name with the digest `bc4d9ee...?`&quot;. You must include the repository, such as `library&#x2F;ubuntu`, in the query. That means you must know <i>in advance</i> what repos and images are already in the target registry, otherwise you can&#x27;t even <i>ask</i> if they are in the target registry.<p>As for (3), it would be an alternative or addition to (1). If all image references started with `oci:&#x2F;&#x2F;`, then it would be tremendously easier to find them and modify them programmatically. There would still be jank and corner cases, but it would be less janky, with fewer corners.
评论 #24983220 未加载
评论 #24984766 未加载
WillPostForFoodover 4 years ago
what do they mean by &quot;GA&quot;?
DanielDentover 4 years ago
<i>sigh</i>. DigitalOcean continues their march towards irrelevance.<p>First it was the app platform and now this. Gouging us at $0.10&#x2F;gigabyte bandwidth charges makes us: (1) think less of you, and (2) adds a bunch of cognitive complexity &amp; work to developers&#x27; lives.<p>If this is how it&#x27;s going to be we may as well just use AWS or move on to one of your competitors that isn&#x27;t trying to pretend that bandwidth is expensive. It isn&#x27;t, and there isn&#x27;t any reason we should have to design applications around artificially absurdly inflated costs.<p>Even Oracle pretends to understand this. _ORACLE_ are the ones trying to make the case that they aren&#x27;t only about having hostages&#x2F;locked in customers.<p>When Oracle is beating you on this metric you&#x27;ve <i>really</i> jumped the shark.
评论 #24983364 未加载
评论 #24983265 未加载
评论 #24985156 未加载
评论 #24983267 未加载
评论 #24983953 未加载