bastille icon indicating copy to clipboard operation
bastille copied to clipboard

Explanation about Linux containers

Open eoli3n opened this issue 2 years ago • 3 comments

Could you explain how Ubuntu containers work ?

  • How/Where does Linux kernel run ?
  • Why Ubuntu ? Will you support other distros ?

eoli3n avatar Aug 14 '21 10:08 eoli3n

Bastille is taking advantage of the FreeBSD Linux Compatibility Layer. That in simple words, allows FreeBSD to run linux binaries, so no linux kernel as far as I understand. You can read more here: https://docs.freebsd.org/en/books/handbook/linuxemu/

Ubuntu and some Debian based system can run thanks to debootstrap but something like CentOS can be run on a jail too (read the first link). I remember someone running OpenSUSE in a jail.

Note that linux jails are experimental at the moment. So is just for fun right now. Not sure what other distros are going to be added. Until now they've been added per own usage by the contributors.

yaazkal avatar Mar 22 '22 23:03 yaazkal

I didn't try yet, but it's a powerful feature !

eoli3n avatar Mar 23 '22 08:03 eoli3n

Let us know your results when you play with them

yaazkal avatar Mar 23 '22 12:03 yaazkal

question answered. Closing.

bmac2 avatar Oct 18 '23 18:10 bmac2