Live data from Hacker News

Show HN: Smol machines – subsecond coldstart, portable virtual machines

github.com

101–110 of 162 posts

Re: Show HN: Smol machines – subsecond coldstart, portable virtual machines

#105

Hello, I'm building a replacement for docker containers with a virtual machine with the ergonomics of containers + subsecond start times. I worked in AWS previously in the container space + with firecracker. I realized the container is an unnecessary layer that slowed things down + firecracker was a technology designed for AWS org structure + usecase. So I ended up building a hybrid taking the best of containers with…

Hey this is super cool. I've been researching tech like this for my AI sandboxing solution, ended up with Lima+Incus: https://github.com/JanPokorny/locki My problem with microVMs was that they usually won't run docker / kubernetes, I work on apps that consist of whole kubernetes clusters and want the sandbox to contain all that. Does your solution support running k3s for example?

With instavm (https://instavm.io), you can provide an OCI image built from a dockerfile.

Re: Show HN: Smol machines – subsecond coldstart, portable virtual machines

#106
post #21

Earlier quoted context omitted.

With this approach I managed to get to sub-10ms start (to pid1), if you can accept a few constraints there's plenty of room! Though my version was only tested on Linux hosts

would be interested to see how you do it, how can I connect with you - emotionally?

https://blog.davidv.dev/posts/minimizing-linux-boot-times/

Re: Show HN: Smol machines – subsecond coldstart, portable virtual machines

#110

Sounds very similar to the various unikernel implementations floating around ? Such as Unikernel[1] [1] https://unikraft.org

unikraft's internals are not open source so I can't say.

But smol machines are not an implementation of unikernel - it's basically just the linux kernel but slimmed down. So, more compatible with most software.

Post reply on HN