containerd-shim-wasm
A library to help build containerd shims for wasm workloads.
Usage
Implement the Instance trait, then call run, for example,
use Duration;
use ;
use containerd_shim as shim;
use ;
;
containerd expects the shim binary to be installed into $PATH (as seen by the containerd process) with a binary name like containerd-shim-myshim-v1 which maps to the io.containerd.myshim.v1 runtime which would need to be configured in containerd. It (containerd) also supports specifying a path to the shim binary but needs to be configured to do so.
This crate is not tied to any specific wasm engine.