10 ms·
Basically yes: if you get value out of Docker for container apps today, we think you’ll get value out of Docker for Wasm apps tomorrow.
by timanglade 4y ago
Basically yes: if you get value out of Docker for container apps today, we think you’ll get value out of Docker for Wasm apps tomorrow.
- kodah 4y agoSeems promising. I think, based on what I read in this, that most folks don't know how challenging working with WASM is.
- timanglade 4y agoThat’s our experience as well… This Technical Preview is an early downpayment, and we’re definitely looking for feedback on how one may could make the Wasm development experience better!
- xeonmc 4y agoIt's still not clear to me, so can you bundle source code into your Dockerfile and just have compilation being part of the docker compose step?
- mikesir87 4y agoGreat question! In the demo app we showed yesterday (source here - https://github.com/second-state/microservice-rust-mysql https://github.com/second-state/microservice-rust-mysql), the Dockerfile is leveraging a multi-stage build where the first stage builds the Wasm module and the second stage extracts the Wasm module into a "FROM scratch" image. In Compose, the "server" service is running using the image that is produced by that build. It's then handed off to the new Wasm runtime, where the module is extracted and executed. Hope that helps! Feel free to follow up with more questions!