Git Product home page Git Product logo

chroot-containers's People

Contributors

adamgordonbell avatar davc0n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ad56583964

chroot-containers's Issues

Musings

Thank you for this repo I think it's extremely important. I read your blog article and appreciate the technical detail it provided but in it you failed to mention some of the major benefits chroots have over containers.

For example I'm writing a utility called glusterchroot which runs Gluster, a distributed file system, within a chroot. With chroots the files Gluster edits stay isolated within the chroot, making management easier, but it doesn't isolate Gluster from the host's namespaces. In Gluster's case it's very important to not be isolated from the mount namespace because it needs to manage disks. Additionally, debian's schroot utility has some additional useful features like managing fstab and running daemons from within a chroot which make life even easier for glusterchroot but that's beyond the scope of your article. Now consider that if I had to do this within a container I would have to give the container so many permissions that it would essentially become a chroot. I would also have to tell multiple programs running within the container that they actually can access disks, /dev/, /proc/ and other base system management features which becomes a huge headache especially with programs like lvm and dm. Essentially I would have to hack everything off of a container except the chroot functionality and we would end up with a very complicated version of this repo. I used Glusterchroot as an example because it's my repo and I know it well, but there are many others (like cockpit) that could similarly benefit from chrun.

Now consider a developer who just wants to compile their code in an isolated environment (similar to sbuild). They don't care about security, they just want a clean system. That work flow becomes over-complicated with the volume permissions issues, networking and other "features" in docker. Yes these days there are some work-arounds for this but your chroot solution is a much simpler approach.

With the entire industry from ALP to Kubernetes becoming completely container-obsessed I'm glad someone gave chroots the attention they deserve.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.