We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An example is given for mounting files into the container when running on a stand-alone WASI runner, but not in the context of the browser.
If I have a File or a Blob in hand in JavaScript when I am setting up the emulator, how would I expose that to the container at a certain path?
File
Blob
Bonus points if I can also mount something writable, like a resizable ArrayBuffer.
ArrayBuffer
The text was updated successfully, but these errors were encountered:
I am wondering the exact same thing, would be wonderful if we had the ability to attach files to a container in the browser
Sorry, something went wrong.
@adamnovak For container on WASI on browser configuration, you can provide file or directories as pre-opened fds to the container .
container2wasm/examples/wasi-browser/htdocs/worker.js
Lines 25 to 33 in 31f6db8
No branches or pull requests
An example is given for mounting files into the container when running on a stand-alone WASI runner, but not in the context of the browser.
If I have a
File
or aBlob
in hand in JavaScript when I am setting up the emulator, how would I expose that to the container at a certain path?Bonus points if I can also mount something writable, like a resizable
ArrayBuffer
.The text was updated successfully, but these errors were encountered: