Comments (3)
the plugin
Could you elaborate this? You mean the plugin running on the container?
We already use that for WASI image for pre-booting the VM. However, configuring the network interface and starting runc aren't included in the initialization phase so they are done everytime you start the container on the runtime. Maybe we can move more logic to the initialization phase so that they are pre-initialized by wizer.
from container2wasm.
I didn't know that happened. I assumed it was a virtual reboot every time.
the demo says:
"It can take some time to load and start the container."
It made me assume that it didn't have this step as I would consider that loading up into the run state.
I'm now thinking most of the time is just downloading the wasm file, and initializing memory. (This is very cool)
I'll go ahead and close this issue with this in mind.
I was looking into the feasibility of getting Mermaid.js compiled to a single wasm file for a plugin but it has too many dependencies on the browser. So this looks like a fun workaround. In my case, it would have no access to any WASI stuff. it would just be a string feed into the wasm file and I would expect an SVG out. (a lot of work for that right?).
So yeah it wouldn't need to configure any network unless I wanted to feed data in and out through that. (it would probably be pretty quick for a local file).
from container2wasm.
forgot to close :)
from container2wasm.
Related Issues (20)
- Do not mimimize a docker image during conversion HOT 4
- Proxy cert issue HOT 1
- Not working with image >2GB HOT 6
- Save State [Question] HOT 2
- sudo: The "no new privileges" flag is set, which prevents sudo from running as root. HOT 5
- Error on building wasm from ubutnu 18.04 docker container HOT 3
- Error response from daemon: unable to create manifests file HOT 1
- genisoimage: Error / mkisofs / Joliet tree sort failed. `-joliet-long` switch may help you. HOT 2
- Failed to solve process "apt-get" for golang-base container HOT 5
- Wasi-Browser: Access exposed ports [Question] HOT 2
- nodejs container example HOT 2
- c2w ubuntu:24.04 ubuntu-24.04.wasm error HOT 7
- Failed to build qemu-tci on emscripten. HOT 5
- c2w-net with mapdir HOT 2
- c2w CLI does not work on Container Environments HOT 2
- Suggestion: Allow passing env.variables when calling `c2w-net` HOT 1
- Have anyone tested the performance loss of wasm-side debian and physical machine or virtual machine in different environments?
- Unable to prepare context img not found HOT 2
- Suggestion: fetch api cors solutions HOT 1
- Suggestion: fetch api alternative solutions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from container2wasm.