Hacker News new | ask | show | jobs
by voigt 1504 days ago
> Included in the repository is a PoC for running a plain wasi host (ie. no extra host functions except to support wasi system calls).

Looks like that’s not decided yet.

In theory you could use pod.spec.volumes to hand it over to the shim for the wasi preopens.[1]

Whether that’s a good idea is the other side of the story…

[1] https://github.com/bytecodealliance/wasmtime/blob/main/docs/...

1 comments

Volumes are mapped in already. They get mounted to the containers rootfs dir, and that is used as a preopen for wasi.

https://github.com/deislabs/runwasi/blob/9a43a31c1f29df65392...