Giter VIP home page Giter VIP logo

Comments (6)

carlpett avatar carlpett commented on July 30, 2024 2

Haha. Right, that's on me. Probably never came back to it after skimming it the first time.
All good, sorry for the noise!

from distribution-library-image.

tianon avatar tianon commented on July 30, 2024

See https://github.com/docker-library/official-images for the source of the official images. The recent push of registry was likely due to docker-library/official-images#4501, which lines up perfectly with the timeline described (~25 days ago); registry is FROM alpine:3.4, so when alpine:3.4 was updated, the registry image was rebuilt.

from distribution-library-image.

carlpett avatar carlpett commented on July 30, 2024

I see. It seems quite unexpected to me that a semver-tagged image would be updated without version bump because some underlying component changed, though? Doesn't this invite subtle differences over larger installations which use the same tag but different images?

from distribution-library-image.

tianon avatar tianon commented on July 30, 2024

We've had a few users who expected that, but the majority usually expect the opposite, namely that security and base OS updates get applied automatically and retroactively (because in the end, the version of the software they're consuming is all they care about not changing).

If you're looking for a fixed, unchanging base, that's the exact use case for the content-addressable digests and pull-by-digest, and why when you deploy a service in Docker Swarm Mode, it'll automatically resolve any image/tag references to an explicit digest (so that it can guarantee that the exact same bits get deployed across the cluster, regardless of the time the bits get deployed or any tag changes since).

The "repo-info" repository (https://github.com/docker-library/repo-info) is a good reference for looking up the appropriate digest values without pulling the images: https://github.com/docker-library/repo-info/blob/63d11ee0217f5defbb729876a1c1b96cf0a92271/repos/registry/remote/latest.md

(And you can walk backwards in time through the commits there to get old digest values, such as https://github.com/docker-library/repo-info/commits/63d11ee0217f5defbb729876a1c1b96cf0a92271/repos/registry/remote/latest.md which leads to https://github.com/docker-library/repo-info/blob/acd463b0dbb4b08e9a421cb926cb368adf914cc5/repos/registry/remote/latest.md.)

from distribution-library-image.

carlpett avatar carlpett commented on July 30, 2024

Okay, even though it wasn't to my preferences, at least you've obviously thought your approach through 😄 That's the most important.
Nice with the repo-info, had I found that it would have eased my concerns. This might be a point of feedback in general - there's a lot of repos to go though, and to me at least it wasn't obviously discoverable. Perhaps the code repos (such as distribution in this case) could have a series of links to the other relevant repos/paths?

from distribution-library-image.

tianon avatar tianon commented on July 30, 2024

to me at least it wasn't obviously discoverable

We've done our best with that, if you look at the "Quick Reference" section at the top of https://hub.docker.com/_/registry/, it has links to a number of interesting/useful places including repo-info.

from distribution-library-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.