Comments (5)
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.
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.
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.
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.
@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)
- Do not mark release/1.6 latest on release HOT 1
- Pinned images are pruned under disk pressure
- docker container with --net=host are made to use the netns of containerd instead of that of the docker daemon
- containerd client keep receiving exit events in version 1.7+ HOT 4
- Pass-through resource allocations from runtime-config (CRI) to oci-spec
- [Feat] become OCI specs v1.1.0 aware and allow picking runtime based on `artifactType` HOT 7
- pull image err HOT 1
- Duplicate <none> images in images list HOT 3
- containerd-shim creates many inotify instances on AlmaLinux VM HOT 3
- containerd-shim creates many inotify instances on AlmaLinux VM HOT 1
- Allow ProxyPlugins to declare capabilities
- ctr have to delete image 3 times created by cri interface HOT 1
- Integrate with systemd watchdog for daemon health
- Can not specify mirros for private registry HOT 1
- TestNewBinaryIOCleanup failing on gotip HOT 1
- Windows: failed to create shim task: hcs::CreateComputeSystem: The directory name is invalid.: unknown HOT 1
- Tracing is broken with v1.7.16 HOT 8
- [v2.0.0] No CNI info for pod sandbox after containerd restart when using user namespaces HOT 5
- error cause by connect S3 FIle with harbor's token
- `nerdctl pull` progress bars flashing during download HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from containerd.