Giter VIP home page Giter VIP logo

Comments (7)

Mossaka avatar Mossaka commented on June 1, 2024 1

For sure I will do a release today

from containerd-wasm-shims.

0xE282B0 avatar 0xE282B0 commented on June 1, 2024

Thank you!

from containerd-wasm-shims.

Mossaka avatar Mossaka commented on June 1, 2024

Umm I was doing some smoke tests with the newly released k3d cluster v0.9.1. When I applied the workloads, I got this error

Failed to pull image "ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.9.1": 
rpc error: code = NotFound desc = failed to pull and unpack image "ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.9.1": 
no match for platform in manifest: not found

from containerd-wasm-shims.

Mossaka avatar Mossaka commented on June 1, 2024

It looks like the issue lies in the images that only supportwasi/wasm.

If you change the container spec in workload.yaml to ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.9.1@sha256:a1fb089c3452c509044ef82f0c7f81bbdb7b8dca5a8cb36d6268b0324c6fd8e3 for the spin shim, then it should work.

However, this isn't ideal because we don't know the digest value until after they arepublished to a registry.

from containerd-wasm-shims.

mboersma avatar mboersma commented on June 1, 2024

I just noticed your comment, but already opened #159.

Is it possible to restore the linux/amd64 layers? Having only wasi/wasm makes the demos harder to work with (I'm trying to update the shims and documentation in Kubernetes image-builder so we can continue to support Wasm in Cluster API).

Or perhaps we could update the runtime.yaml example to include the sha256 annotations? It's not reasonable for a user to figure these out IMHO.

from containerd-wasm-shims.

Mossaka avatar Mossaka commented on June 1, 2024

I reverted the docker build action in #160 .

It looked like we get linux/amd64 images https://github.com/deislabs/containerd-wasm-shims/pkgs/container/containerd-wasm-shims%2Fexamples%2Fspin-rust-hello/130079317?tag=v0.9.1

from containerd-wasm-shims.

Mossaka avatar Mossaka commented on June 1, 2024

v0.9.1 was just released. I did some smoking test and it looked fine!

from containerd-wasm-shims.

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.