TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: We Put Chromium on a Unikernel (OSS Apache 2.0)

132 点作者 juecd大约 1 个月前
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

15 条评论

shykes大约 1 个月前
This looks excellent, and very fun to play with!<p>I used this one-liner to run an instance directly from remote source:<p><pre><code> dagger -c &#x27;git https:&#x2F;&#x2F;github.com&#x2F;onkernel&#x2F;kernel-images | head | tree | docker-build --dockerfile containers&#x2F;docker&#x2F;Dockerfile | up --ports 8501:8501,8080:8080,6080:6080,9222:9222&#x27; </code></pre> Be aware that the initial docker build is quite long... But caching kicks in for subsequent runs.<p>I look forward to playing with this!
评论 #43709740 未加载
juecd大约 1 个月前
(OP) Happy to answer any questions! Some things we&#x27;re still exploring:<p>- Mounting persistent storage for file i&#x2F;o<p>- Replacing noVNC with a faster alternative<p>Would love feedback, especially if you’ve worked on fast-cold-start systems or unikernel-based infra.
评论 #43713521 未加载
crowcroft大约 1 个月前
This is probably a dumb question from someone who knows almost nothing about system engineering.<p>How hard would it be to boot a computer to this as an OS?
评论 #43709618 未加载
评论 #43707530 未加载
dbmikus大约 1 个月前
When should I use this versus Browserbase or Browserless or Hyperbrowser?<p>Obviously since this is open source, then I can self host it. What other reasons?<p>Just curious!
评论 #43710088 未加载
tyre大约 1 个月前
This is super cool. We’ve been looking into infra for AI agents. As others have noted, the difference in speed alone between docker and this is a huge win. Having our clients wait around for five seconds really adds up.<p>Awesome tech, excited to dig deeper for healthcare
评论 #43707103 未加载
capiki大约 1 个月前
Cool (and congrats on the demo)! Sounds like a promising approach. I work on browser use agents and one of the most difficult problems now is bot detection. Curious if you know how this impacts bot detection&#x2F;fingerprinting?
评论 #43707012 未加载
评论 #43712529 未加载
daniel_levine大约 1 个月前
This is awesome stuff. I think the biggest thing holding back a bunch agentic use cases is great infra and this is a a great step in the right direction. Love how fast it boots!
shaqbert大约 1 个月前
5s for Docker containers vs 20ms now ... holy moly, this is fast
评论 #43706498 未加载
rollcat大约 1 个月前
Interesting work. It immediately brought boot2gecko to my mind. If I understand unikernels correctly - do you think it would be viable to run this on real HW?
HyprMusic大约 1 个月前
I&#x27;m assuming the low latency cold starts are from a paused state, considering chrome itself takes a few seconds to boot? Or have you found some clever way to snapshot a running chrome and fork that?<p>Either way thanks for sharing.
评论 #43707049 未加载
eyberg大约 1 个月前
Maybe you can clarify but this isn&#x27;t actually using unikraft the kernel is it?<p>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大约 1 个月前
&gt; This unikernel implementation can only be run on Unikraft Cloud<p>Looking forward to one that&#x27;ll run on my local machine, if I read this correctly?
评论 #43710019 未加载
moltar大约 1 个月前
What’s the size of the image?<p>Can this run inside a Lambda?
评论 #43710046 未加载
gregpr07大约 1 个月前
Wooow man this is crazy!! I wanna chat
jay-barronville大约 1 个月前
Impressive work, @juecd!
评论 #43706397 未加载