Search⌘ K
AI Features

Build WebAssembly Apps with Docker

Explore building and running WebAssembly apps using Docker. Learn to enable Wasm support in Docker Desktop, set up Rust with Wasm targets, and use Spin runtime to containerize and execute Wasm applications efficiently.

The WebAssembly revolution

WebAssembly is driving the third wave of cloud computing, and Docker is evolving to take advantage. We built the first wave on virtual machines (VMs), the second on containers, and we’re building the third on WebAssembly. Each wave is driving smaller, faster, and more secure workloads, and all three will work together in the future of cloud computing.

In this chapter, we’ll write a simple WebAssembly application and use ...