| sidebar_position | 1 |
|---|
:::info Work in Progress :::
The containerd-shim runwasi project supports WasmEdge.
-
Install Rust because we need to compile the runwasi project.
-
Install WasmEdge
Run the following command lines to install WasmEdge.
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash sudo -E sh -c 'echo "$HOME/.wasmedge/lib" > /etc/ld.so.conf.d/libwasmedge.conf' sudo ldconfig
-
Download the runwasi project and test
After that, run the following command line to download the runwasi project and test.
$ git clone https://github.com/second-state/runwasi.git $ cd runwasi $ cargo test -- --nocapture # the output should be the following connent. running 3 tests test instance::tests::test_maybe_open_stdio ... ok test instance::wasitest::test_delete_after_create ... ok test instance::wasitest::test_wasi ... ok
-
Build the wasmedge-containerd-shim
rustup default nightly make build FEATURES=wasmedge sudo make install RUNTIME=wasmedge
:::info Work in Progress :::