3 ms·
> 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 de
by voigt 4y 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/WASI-overview.md https://github.com/bytecodealliance/wasmtime/blob/main/docs/...
- cpuguy83 4y agoVolumes 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/9a43a31c1f29df653920cdeb5f10f6fa31867b7d/crates/containerd-shim-wasmtime-v1/src/sandbox/shim.rs#L846 https://github.com/deislabs/runwasi/blob/9a43a31c1f29df65392...