bytecodealliance / bytecodealliance/wasmtime

run component in docker

Open
#8,411 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

I bulid https://github.com/sunfishcode/hello-wasi-http

wasmtime serve works

~~~
$ wasmtime serve target/wasm32-wasi/debug/hello_wasi_http.wasm
Serving HTTP on http://0.0.0.0:8080/
~~~

I got docker configured to have wasmtime as runtime. works with non-proxy wasm:

~~~
$ docker container run --platform=wasi/wasm --runtime wasmtime erkules/mywasm:v1
12
~~~

But I didn't found how to configure the image to tell the runtime to use the subcommand.

~~~

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.