This is an example to run a container on browser using emscripten. Please refer to README for the usage of this example.
This example relies on xterm-pty. Please refer to Emscripten integration section on the xterm-pty's README for detail.
Instead of emscripten WASI image, you can also run WASI-compiled image on browser, with leveraging WASI-specific performance optimization including pre-initialization by Wizer. Please see wasi-browser example for details about WASI-on-browser.
Examples of enabling networking can be found at ./../networking
.