Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Browser tabs as a container runtime

tl;dr unkernel is a new project that compiles the Linux kernel to WebAssembly, enabling it to run in a browser tab without relying on traditional hardware emulation. This allows for running Linux containers directly in the browser, providing a common runtime for software isolation similar to Docker. The idea of using WebAssembly for containerization has been explored before, but unkernel offers a practical solution that can be used with Docker on macOS without needing a Linux virtual machine.

By running each container in a separate browser tab, unkernel leverages the browser's sandbox for added isolation and security. While there are some limitations in terms of performance for compute-heavy workloads, the startup time for a container is still relatively fast, around 0.87 seconds on a Linux laptop. Unkernel has the potential to make containers more accessible and portable across different platforms, including Mac and Windows, by removing the dependency on Linux as the underlying platform.

Rewritten by urgent.news; may contain errors — check the original.

Source: fzakaria.com

Read the original at fzakaria.com →

Report a problem with this story

More in Tech

One sandbox per run, per session or per user: isolation, cost and state trade-offs

When you put an agent's code execution in a sandbox, you also decide, often without noticing, how many pieces of work share each sandbox. One per tool call? One per conversation?

  • Per run provides strongest isolation, but incurs repeated setup costs
  • Per session keeps isolation between users, but allows state leakage between turns
  • Per user grants long-lived environment, but risks drift and secret accumulation

More from Thursday 26 November →