Top
Best
New

Posted by juecd 4/16/2025

Show HN: We Put Chromium on a Unikernel (OSS Apache 2.0)(github.com)
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:

- Chrome DevTools Protocol (for Playwright/Puppeteer)

- noVNC (for live view)

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:

- Boot-up time: 10–20ms (vs. ~5s for Docker containers)

- Near 0 CPU/memory consumption when idle

- Still ~8GB RAM when active (headful Chromium)

Potential use cases:

- Standby mode during long-running jobs: unikernels can sleep after X sec of inactivity, reducing clock time costs

- Session reuse: auth/session cookies persist for hours/days. Basically as long as the cookies are valid

- Cold start speed: good for low-latency, event-based handling

We open sourced it with Apache 2.0! Feel free to fork or submit an issue / PR. Open to feedback or suggestions. www.github.com/onkernel/kernel-images

==

[0] https://github.com/onkernel/kernel-images

[1] https://unikraft.cloud/

[2] Thanks to the Unikraft Cloud team @fhuici @nderjung @razvandeax for helping us figure this out (we're not affiliated)

[3] (OPs) @rgarcia @juecd

132 points | 46 commentspage 2
eyberg 4/16/2025|
Maybe you can clarify but this isn't actually using unikraft the kernel is it?

Maybe you can clarify that this is actually running a stripped down linux as unikraft does not have the support to run chrome itself.

LoganDark 4/16/2025||
> This unikernel implementation can only be run on Unikraft Cloud

Looking forward to one that'll run on my local machine, if I read this correctly?

juecd 4/16/2025|
Yeah, there are some nuances to Unikraft Cloud that their team did to get it running. I'll see if they can chime in and shed some light!
moltar 4/16/2025||
What’s the size of the image?

Can this run inside a Lambda?

juecd 4/16/2025|
Haven't tried on a Lambda. Would be curious to know the results if you do!

It took us 8gb to get it up - maybe could be slimmed down if you took out the Anthropic Computer Use components, but browsers generally are pretty heavy.

gregpr07 4/17/2025||
Wooow man this is crazy!! I wanna chat
jay-barronville 4/16/2025|
Impressive work, @juecd!
juecd 4/16/2025|
Thank you!
bzmrgonz 4/16/2025||
why is the price bracket so weird? pro/10 gives each user less than half what individual plans would. It's almost like an attempt to dissuade pro purchases. Are there additional tooling you are not mentioning in the comparison?
juecd 4/16/2025||
Are you referring to Unikraft Cloud's pricing? I'm not really sure, since I'm not affiliated. Maybe they'll chime in
bzmrgonz 4/17/2025||
yes, that's the one.. https://unikraft.cloud/#pricing