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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Execute Docker Containers as QEMU MicroVMs

178 点作者 DarkPlayer将近 4 年前

12 条评论

riobard将近 4 年前
A few years ago I invested in a small startup called `hyper.sh`. It open sourced a container runtime called `runV` which provided exactly this: security of virtual machines plus convenience of containers.<p>The project later merged with Intel Clear Container to become what&#x27;s now called Kata Containers (<a href="https:&#x2F;&#x2F;katacontainers.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;katacontainers.io&#x2F;</a>) and is now widely used by several Internet giants like Alibaba and Baidu.<p>The startup was acquired by Ant Finance a couple of years ago.<p>(I recorded a podcast with one of hyper.sh engineer if you can listen to Mandarin <a href="https:&#x2F;&#x2F;pan.icu&#x2F;25" rel="nofollow">https:&#x2F;&#x2F;pan.icu&#x2F;25</a>)
评论 #27531312 未加载
评论 #27535164 未加载
评论 #27532138 未加载
评论 #27531533 未加载
评论 #27532555 未加载
评论 #27533411 未加载
eatonphil将近 4 年前
There are a few existing projects out there like this (running Docker images as virtual machines, specifically) if folks are interested. Slim [0] is the one I can remember off the top of my head. I think there are a couple more.<p>Still, neat to have the walkthrough here in this post.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ottomatica&#x2F;slim" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ottomatica&#x2F;slim</a>
评论 #27534826 未加载
tptacek将近 4 年前
As I understand the landscape here, the big enabling win of microvms is faster boot time; there&#x27;s a cool qemu-lite slide deck that goes into detail about how they cut down boot time:<p><a href="https:&#x2F;&#x2F;www.linux-kvm.org&#x2F;images&#x2F;d&#x2F;d2&#x2F;03x05B-Chao_Peng-Light_Weight_Virtualization_with_QEMU_KVM.pdf" rel="nofollow">https:&#x2F;&#x2F;www.linux-kvm.org&#x2F;images&#x2F;d&#x2F;d2&#x2F;03x05B-Chao_Peng-Light...</a><p>The big win was slashing away the BIOS stuff.<p>We use AWS&#x27;s Firecracker to turn our customers Docker containers into Firecracker microvms (Firecracker is Amazon&#x27;s Rust VMM, the engine for Fargate and Lambda). Anecdotally: in my dev environment, the difference between Firecracker boot times and native Docker container startup is imperceptible; the logging we do swamps the VM boot stuff. It&#x27;s <i>very</i> fast.
rwmj将近 4 年前
<a href="https:&#x2F;&#x2F;katacontainers.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;katacontainers.io&#x2F;</a> ?
评论 #27531527 未加载
ashishbijlani将近 4 年前
&gt; Can we somehow combine the advantages of the docker ecosystem with VMs?<p>Shameless plug: this is exactly what our goal is with <a href="https:&#x2F;&#x2F;kwarantine.xyz" rel="nofollow">https:&#x2F;&#x2F;kwarantine.xyz</a> We are creating a new hypervisor (from scratch) that can run strongly isolated Docker&#x2F;LXC containers.
评论 #27533961 未加载
评论 #27531651 未加载
stefanha将近 4 年前
For an even more lightweight approach to running containers in VMs see: <a href="https:&#x2F;&#x2F;github.com&#x2F;containers&#x2F;krunvm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;containers&#x2F;krunvm</a><p>It&#x27;s powered by <a href="https:&#x2F;&#x2F;github.com&#x2F;containers&#x2F;libkrun" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;containers&#x2F;libkrun</a>.
forty将近 4 年前
Isn&#x27;t firecracker an AWS tech?
评论 #27536381 未加载
评论 #27530984 未加载
评论 #27534737 未加载
thekevjames将近 4 年前
I had fun exploring Docker-&gt;VM conversion a while back [1], though the larger goal in my case was to be able to make the build path to custom GCP VM Images a bit simpler. Exciting to see other cases where folks are finding this sort of flow useful!<p>1: <a href="https:&#x2F;&#x2F;thekev.in&#x2F;blog&#x2F;2019-08-05-dockerfile-bootable-vm&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;thekev.in&#x2F;blog&#x2F;2019-08-05-dockerfile-bootable-vm&#x2F;ind...</a>
dzonga将近 4 年前
I understand, it&#x27;s cool to do content marketing. but folks proof-read your articles. Firecracker was created by AWS and rightly states so on the page.
OldGoodNewBad将近 4 年前
I think a lot of folks are going out of their way to misunderstand what happened. Yes there are other similar projects and containers. No, none come from a long established <i>COMMUNITY RUN PROJECT</i>. This is something akin to the difference between VirtualBox and OpenBSD’s vmd. Ones a product with a “free” tier, the other is a community project.
gravypod将近 4 年前
Something I&#x27;d be very interested in: building a PXE image from something declarative like Dockerfiles.
评论 #27533926 未加载
评论 #27533823 未加载
评论 #27535619 未加载
encryptluks2将近 4 年前
Why not run containers in VMs in containers in VMs? :)<p>Seriously, VMs are hardly as secure as many people want to believe unless you&#x27;re utilizing enclaves and even that has vulnerabilities. I think a better approach is Seccomp and whatever other filtering makes sense.
评论 #27531403 未加载
评论 #27533241 未加载
评论 #27531462 未加载
评论 #27531200 未加载
评论 #27533942 未加载