bytecodealliance / bytecodealliance/wasmtime
run component in docker
Open
- 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
Assessment
This issue has not been assessed yet.