Title: Hi HN,<p>This is Cesar Talledo and Rodny Molina, co-founders of Nestybox (www.nestybox.com).<p>Nestybox has developed a new container runtime that sits under Docker&#x2F;containerd (it&#x27;s a new type of runc) and enables containers to act as virtual-servers capable of running software such as systemd, Docker, and Kubernetes, easily and with proper isolation.<p>The motivation came from noticing that containers are great at running microservices but struggle to run system-level software in them such as those mentioned above. That is, in order to run such software in a container, we needed unsecure privileged containers with complex images, custom entrypoints, volume mounts, etc., or alternatively a heavier virtual machine. This did not seem right.<p>We studied the problem and noticed that the container abstraction was not complete enough, meaning that inside the container a root process lacked capabilities to perform certain low-level operations, the namespacing of procfs and sysfs had a few holes, there are limitations for running overlayfs-on-overlayfs, and more.<p>To solve this, we decided to create a new container runtime that would set up the container in such a way that it could run system software easily and without resorting to privileged containers. That is, a user should be able to do &quot;docker run -it some-image&quot; and get a container inside of which she can run systemd, dockerd, or even K8s without problem (much as if it were a virtual machine).<p>After lots of long days, we came up with Sysbox. It&#x27;s a new type of &quot;runc&quot; and sits below OCI-based container managers (e.g., Docker&#x2F;containerd). You typically don&#x27;t interact with Sysbox directly, but rather use Docker (or similar) to launch the containers. Sysbox was forked from the excellent OCI runc in early 2019 and has undergone significant changes since then. It uses OS virtualization techniques such as always enabling the Linux user namespace, uid shifting via shiftfs, partial virtualization of procfs and sysfs, selective syscall trapping in user-space, setting up special mounts into the container, and more. It&#x27;s written in Go.<p>Here is a video: <a href="https:&#x2F;&#x2F;asciinema.org&#x2F;a&#x2F;kkTmOxl8DhEZiM2fLZNFlYzbo?speed=1.75" rel="nofollow">https:&#x2F;&#x2F;asciinema.org&#x2F;a&#x2F;kkTmOxl8DhEZiM2fLZNFlYzbo?speed=1.75</a><p>Today we are happy to announce that we are open-sourcing Sysbox (Apache 2.0). You can find it at <a href="https:&#x2F;&#x2F;github.com&#x2F;nestybox&#x2F;sysbox" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nestybox&#x2F;sysbox</a> . We welcome users and contributors, as it has plenty of room to grow and improve. There are plenty of docs in the repo describing how to use it and how it works.<p>We think Sysbox is a very useful tool to expand the use cases for containers and provides an alternative to virtual machines in many scenarios, particularly for dev environments, testing, CI&#x2F;CD, and even running legacy apps in containers.<p>In order to pay the bills, Nestybox (the company we founded) will sell a version of Sysbox called Sysbox Enterprise Edition (Sysbox-EE). We are using an open-core model, such that Sysbox-EE is based on the open-source Sysbox and adds a layer of proprietary enterprise level features. We think this model will help us strike a healthy balance between creating useful technology that all can benefit from and keeping the lights on.<p>Thanks for reading and we welcome your feedback.<p>Best,
-Cesar &amp; Rodny
Upvote: