Giter Club home page Giter Club logo

Comments (5)

ckw017 avatar ckw017 commented on September 27, 2024 1

On my end it looks like this was an issue with bazel docker rules, unrelated to containerd/docker -- https://github.com/bazelbuild/rules_docker/blob/master/container/go/pkg/compat/image.go#L175-L180

It looks like in 25.0 docker started outputting OCI compliant tarballs, and it seems like by properly marking uncompressed layers as application/vnd.oci.image.layer.v1.tar, revealed a bug where the bazel rule always assumes that the media type is compressed.

from containerd.

ckw017 avatar ckw017 commented on September 27, 2024

Seeing a similar problem, looks a lot like #3326, except we're using docker instead of buildah -- after upgrading docker we're seeing blobs that were previously marked as application/vnd.docker.image.rootfs.diff.tar.gzip (using docker 24.0.5) as application/vnd.oci.image.layer.v1.tar (using docker 25.0.3) -- feels like it should be application/vnd.oci.image.layer.v1.tar+gzip instead.

It looks like the docker pull is automatically detecting that the blob is gzipped, while containerd doesn't -- technically containerd's behavior is correct according to the spec ofc.

from containerd.

ckw017 avatar ckw017 commented on September 27, 2024

Mostly grasping at straws, might be related to this string of commits, since seems like the main spots where application/vnd.oci.image.layer.v1.tar (i.e. ocispec.MediaTypeImageLayer) has been used thats new between 24.0 and 25.0

from containerd.

tianon avatar tianon commented on September 27, 2024

Would either of you be able to make or share a public image that reproduces the problem? Or steps to build an image that reproduces the problem? 👀

from containerd.

system51 avatar system51 commented on September 27, 2024

@tianon @ckw017 My solution to this problem was to rebuild the image, but it did not solve the underlying problem

from containerd.

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.