Chapter Summary: Docker and WebAssembly
Summary of the concepts covered in this chapter.
We'll cover the following...
Quick recap
In this chapter, you containerized a Wasm app and ran it in a Wasm container.
Wasm is a new technology driving the next wave of cloud computing. Wasm apps are smaller, faster, more secure, and more portable than traditional Linux containers. However, they’re not as flexible. For example, at the time of writing, Wasm apps aren’t great for apps with heavy I/O requirements or complex networking. This will change quickly as the Wasm ecosystem is evolving fast.
Fortunately, Docker already works with Wasm, and Docker Desktop ships with lots of popular Wasm runtimes. This means you can use industry-standard tools such as docker build
and docker run
to containerize and run Wasm apps. You can even push them to OCI registries such as Docker Hub.