runwasi: wasmedge echo hangs on second execution

To repro run the following:

sudo ctr run --rm --runtime=io.containerd.wasmedge.v1 ghcr.io/containerd/runwasi/wasi-demo-app:latest testwasm /wasi-demo-app.wasm echo 'hello'
hello
exiting
sudo ctr run --rm --runtime=io.containerd.wasmedge.v1 ghcr.io/containerd/runwasi/wasi-demo-app:latest testwasm /wasi-demo-app.wasm echo 'hello'
hello
exiting
# hangs here

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

@jprendes Thank you! I am currently on vacation but I will try it out asap!

@devigned I have not, can you point me to the source code of that image please? Trying to run this with docker gives me an error, I don’t have a VM or a linux machine I could test this on right now

$ docker pull ghcr.io/containerd/runwasi/wasi-demo-app:latest
Error response from daemon: failed to resolve reference "ghcr.io/containerd/runwasi/wasi-demo-app:latest": failed to authorize: failed to fetch anonymous token: unexpected status: 403 Forbidden

I think the demo source is here.