News for hackers. Stuff that matters.

Ask HN: Best container runtime for process isolation / security?

I'm currently considering a project where containers could be used to quickly spin up resources. Trick is, one user would "own" one container, meaning that isolation between containers and isolation between the host/container is important.

Most runtimes I've looked at, don't really offer anything in terms of security isolation, and also don't make a lot of guarantees. Seems I'll end up using VMs so I can get proper isolation.

But maybe I've missed something, and you people here know any good solution for this.

Point is to have fast startup time of the container/VM and also good isolation between the containers/VMs themselves, and between the container/host.

This is all supposed to run on self-hosted infrastructure and without Kubernetes et all, so Lambda and all "container-as-a-service" things are N/A

( 6 comments | 9 points | on HN )
Re:Ask HN: Best container runtime for process isolation / se... by gtirloni on Saturday May 08, 2021 @07:25AM (#27086109)
Looks like you want this: https://firecracker-microvm.github.io/
Re:Ask HN: Best container runtime for process isolation / se... by capableweb on Saturday May 08, 2021 @07:37AM (#27086175)
Thanks! That looks interesting and I had missed it.
Re:Ask HN: Best container runtime for process isolation / se... by cpach on Saturday May 08, 2021 @09:06AM (#27086794)
I highly recommend reading through Fly’s blog posts. They let customers build Docker images, which are then transformed to Firecracker VMs. Very cool!

https://fly.io/blog/docker-without-docker/

Re:Ask HN: Best container runtime for process isolation / se... by kasey_junk on Sunday May 09, 2021 @10:21AM (#27096099)
I’m not making a claim about its quality but gvisor is another isolation focused runtime https://github.com/google/gvisor
Re:Ask HN: Best container runtime for process isolation / se... by helixc on Saturday May 08, 2021 @08:52AM (#27086705)
Exactly what I'm looking for. Waiting for more insights.
Re:Ask HN: Best container runtime for process isolation / se... by yamellasmallela on Sunday May 09, 2021 @09:45PM (#27101818)
firecracker is probably what you need that literally runs lambda

gvisor is also good for pure container runtimes