{"by":"juecd","descendants":46,"id":43705144,"kids":[43706427,43705276,43707071,43709655,43706853,43706925,43708029,43706399,43706400,43707004,43708709,43708512,43709233,43715044,43706371],"score":132,"text":"We’ve been building infrastructure to spin up browsers for AI agents. Originally, we built[0] it as a pool of warm Docker containers running Chromium, exposing:<p>- Chrome DevTools Protocol (for Playwright&#x2F;Puppeteer)<p>- noVNC (for live view)<p>We’ve been following the unikernel space for a while, so we decided to see if we could get our image on one. We went with Unikraft Cloud[1]. Here’s how it did:<p>- Boot-up time: 10–20ms (vs. ~5s for Docker containers)<p>- Near 0 CPU&#x2F;memory consumption when idle<p>- Still ~8GB RAM when active (headful Chromium)<p>Potential use cases:<p>- Standby mode during long-running jobs: unikernels can sleep after X sec of inactivity, reducing clock time costs<p>- Session reuse: auth&#x2F;session cookies persist for hours&#x2F;days. Basically as long as the cookies are valid<p>- Cold start speed: good for low-latency, event-based handling<p>We open sourced it with Apache 2.0! Feel free to fork or submit an issue &#x2F; PR. Open to feedback or suggestions. www.github.com&#x2F;onkernel&#x2F;kernel-images<p>==<p>[0] <a href=\"https:&#x2F;&#x2F;github.com&#x2F;onkernel&#x2F;kernel-images\">https:&#x2F;&#x2F;github.com&#x2F;onkernel&#x2F;kernel-images</a><p>[1] <a href=\"https:&#x2F;&#x2F;unikraft.cloud&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;unikraft.cloud&#x2F;</a><p>[2] Thanks to the Unikraft Cloud team @fhuici @nderjung @razvandeax for helping us figure this out (we&#x27;re not affiliated)<p>[3] (OPs) @rgarcia @juecd","time":1744809586,"title":"Show HN: We Put Chromium on a Unikernel (OSS Apache 2.0)","type":"story","url":"https://github.com/onkernel/kernel-images"}