-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oci_tarball for multiarch image fails with blobs/json: no such file or directory
#651
Comments
It's possible that this is already fixed, could try and see if this is present in https://github.com/bazel-contrib/rules_oci/releases/tag/v1.8.0? |
Encountered the same issue with the tarball target where |
Tried v1.8.0 without #602, still the same error. |
Same error also on v1.8.0 |
It still fails on the main branch at rules_oci/oci/private/load.sh.tpl Line 31 in a32f3bf
Seems like If docker format itself supports multi-arch images, then probably we have to implement that in rules_oci - probably at oci/ |
docker engine 27.2.0 seems to support loading oci image but I still get the same error. You can test it by adding followings to oci_load(
name = "load",
image = ":index",
repo_tags = ["my-repository:latest"],
format = "oci",
) |
Docker by default does not support loading oci tarballs into the daemon, that's probably what you are seeing here. Please make sure that you enabled containerd image store experiment if you are using docker. |
This issue is now a documentation issue. Need to mention enabling containerd image store. |
I reported this issue and used containerd in darwin/arm64 and runc debian/amd64. Has it been fixed when using containerd? |
bazel: 5.4.1
rules_oci version: 1.7.6
Runtimes:
Snippet of the tarball:
This ends up with
Tried directly:
The text was updated successfully, but these errors were encountered: