{"by":"mixedbit","descendants":63,"id":49801329,"kids":[49802414,49804373,49802499,49803947,49803146,49802029,49805149,49807070,49806109,49802747,49812316,49803109,49802192,49803594,49802781,49802775,49803186,49803890,49803553,49812638,49808021,49806390,49806747,49802078,49802828,49803929,49811665],"score":193,"text":"I created Drop because I always felt uneasy installing and running third-party programs using my main user account. A single compromised dependency means a full compromise of the system. What is even worse, because I ship software from my computer, a single compromised dependency can lead to compromise of all the users of my software.<p>Containers and VMs are one solution, but for local work, they are often detrimental to productivity. It takes effort to configure a machine with all the tools and configs needed for productive work, but a container or a VM will be stripped of all these tools. This is great for production deployments, where the aim is a reproducible system with minimal dependencies, but can get in the way of productive local work.<p>Drop is language independent, but the workflow is inspired by Python&#x27;s virtualenv. With virtualenv the environment isolation is only a convention that relies on installed dependencies being good citizens. With Drop the isolation is enforced.<p>Each Drop environment gets its own writable and easily disposable home dir, with only selected config files and dirs from the original home mounted, mostly read-only.<p>Drop uses Linux namespaces for isolation (user, mount, network, PID, IPC, cgroup), doesn&#x27;t require root and, as an option, uses gVisor user-space kernel, which adds protection against exploiting host kernel vulnerabilities to escape the sandbox.<p>I don&#x27;t want to make the introductory post too lengthy, but I&#x27;m here to answer any questions and give any additional technical details.<p>Note: This is my 3rd submission of the project, the first two did not draw attention. Since then I have added support for gVisor and created a project website to better explain the concept and organize documentation.","time":1790085167,"title":"Show HN: Drop – A rootless Linux sandbox with gVisor support","type":"story","url":"https://droprun.sh/"}