7: Docker and WebAssembly
WebAssembly is driving the next wave of cloud computing, and Docker is evolving to take advantage.
In this chapter, you’ll write a simple WebAssembly app and use Docker to containerize and run it in a container. The goal is to introduce you to WebAssembly and show you how easy it is to work with Docker and WebAssembly together.
The terms WebAssembly and Wasm mean the same thing and we’ll use the term Wasm.
I’ve divided the chapter as follows:
- Pre-reqs
- Intro to Wasm
- Write a Wasm app
- Containerize a Wasm app
- Deploy a Wasm app
Pre-reqs
You’ll need all of the following if you plan on following along:
- Docker Desktop 4.27+ with Wasm enabled
- Rust 1.72+ with the Wasm target installed
- Spin 2.4+
At the time of writing, support ...
Get Getting Started with Docker now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.