-
Notifications
You must be signed in to change notification settings - Fork 96
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
Issues pulling Wasm image to run on the Wasmtime shim #722
Comments
You probably need to tell |
As for the issue when using docker, it looks like the shim binary ( |
@cpuguy83 that indeed resolved the issue. Can you point me in the direction as to gain an understanding of what is happening here and why this is the case? There is only one platform in the image so why is there a difference? Where does the gc kick in? I am not very happy that the pull time imcreases:
|
@jprendes Yes, it looks like that but it is unreasonable since the shim executable is in the same directory as |
@matsbror I said GC, probably it is not even involved here. I'm sure |
@cpuguy83 that might make sense. Now maybe you could help me understand a tangential issue: I have noticed that pulling wasm images is a lot slower (in terms of data rate) than pulling native images. Would you have any hunch on why? |
I don't think there's anything related to containerd as to why it is slow. |
It looks like the original failure described in this issue was resolved and there is a follow up on the worse performance of pulling Wasm images compared to native images. Idea: It looks like adding |
I am trying to set up a multi-architecture system for container execution with both amd64, arm64 and riscv64 nodes. For the moment I am trying to make sure I can execute both native and WebAssembly containers, the latter using the wasmtime shim from runwasi.
Here are two containers, one native and one wasm:
I can run the native container fine on both amd64 and arm64, but I get a problem when trying to run the wasm container with containerd:
I get exactly the same error on amd64 and arm64, and just tested on riscv64 with the same error..
Running the same container using docker (and the wasmtime containerd shim) works fine on arm64, but on the adm64 node I get:
The shim is installed and configured in
/etc/containerd/config.toml
Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: