top of page

Docker's New Era: WebAssembly Support and Its Implications

Updated: Mar 20

The Rise of WebAssembly in the Tech Landscape


Docker continues to thrive, showing promising financial growth since its initial hype cycle during the container revolution. This period saw Docker being overshadowed by Kubernetes and its expanding ecosystem. However, today marks a significant milestone as the company announces the first technical preview of its WebAssembly (Wasm) support.


WebAssembly was initially developed by browser vendors to enable web applications to run at native speeds. It allows code compiled from languages like C, C++, and Rust to execute securely in a sandbox environment. Currently, developers can compile around 40 programming languages to Wasm. Just as node.js brought JavaScript to the server side, Wasm is now making its way to the backend. For instance, Cloudflare has integrated Wasm support into its edge computing services.


Funding and Growth in the WebAssembly Space


The growing interest in WebAssembly is reflected in recent funding rounds. Venture capitalists are beginning to recognize its potential. For example, Cosmonic recently announced an $8.5 million funding round for its new Wasm Platform as a Service (PaaS). Additionally, Fermyon secured a $20 million Series A round earlier this month. Docker aims to establish itself as a key player in this burgeoning space.


The company emphasizes that this is still a technical preview, and users should expect potential issues. The Docker Engine utilizes the same containerd container runtime as the rest of the Docker ecosystem. However, instead of employing runc to manage container processes, it leverages the WasmEdge runtime. Docker has not provided extensive details, but the promise of WasmEdge includes significantly faster startup times compared to traditional Linux containers. Furthermore, WasmEdge applications are notably smaller and more efficient.


Docker launches a first preview of its WebAssembly tooling

The Complementary Nature of Wasm and Linux Containers


“We see Wasm as a complementary technology to Linux containers where developers can choose which technology they use (or both!) depending on the use case,” stated Docker’s Michael Irwin in today’s announcement. As the community delves into the possibilities of Wasm, Docker aims to facilitate the development, building, and running of Wasm applications using familiar tools and experiences.


The Future of WebAssembly and Docker


As Docker embraces WebAssembly, it opens up new avenues for developers. The integration of Wasm into Docker's ecosystem could lead to innovative applications and services. This shift may also influence how developers approach building applications, offering them more flexibility in choosing the right tools for their projects.


Advantages of WebAssembly


WebAssembly brings several advantages to the table:


  1. Performance: Wasm runs at near-native speed, making it ideal for performance-critical applications.

  2. Portability: Applications compiled to Wasm can run on any platform that supports it, enhancing cross-platform compatibility.

  3. Security: The sandboxed environment of Wasm ensures that applications run securely, reducing the risk of vulnerabilities.


Challenges Ahead


Despite its potential, the adoption of WebAssembly is not without challenges. Developers may face a learning curve as they adapt to new tools and workflows. Additionally, the ecosystem is still evolving, and there may be limitations in terms of library support and tooling.


Conclusion


Docker's foray into WebAssembly marks an exciting development in the tech landscape. As the company integrates Wasm support, it positions itself to lead in this emerging field. The combination of Docker's established container technology with the capabilities of WebAssembly could redefine how applications are built and deployed.


In summary, the future looks promising for Docker and WebAssembly. As developers explore this new frontier, they will likely uncover innovative ways to leverage these technologies together. The journey has just begun, and the possibilities are endless.

Subscribe to our newsletter

Comments


bottom of page