What are the strong and weak points of each system ? Or how do they compare ? When to use one or when another.
jail_*
variables. Switched to Bastille some time ago, and I'm very pleased with it (templates are a really cool feature).pot/bastillebsd/iocage/ezjail for jail only, whereas cbsd can also manage virtual machines (like vm-bhyve).If i'm correct bastille is for jailing , i.e. a name-space, ware-as cbsd is also for bhyve and virtualisation ? Not ?
It would be nice to know "Dan Langille" takes on this.
It looks like Dan is more into mkjail I think he prefers when things are simple even if he has to put his hands into it, I may be wrong about it this is only my own deduction.It would be nice to know "Dan Langille" takes on this.
# Common configs for all jails
path = "/jails/$name";
host.hostname = "$name";
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.clean;
persist;
ip4 = inherit;
ip6 = inherit;
mount.devfs;
mount.fdescfs;
allow.mount;
allow.mount.devfs;
allow.mount.fdescfs;
allow.mount.nullfs;
allow.mount.tmpfs;
allow.mount.procfs;
allow.mount.zfs;
enforce_statfs=1;
children.max=100;
allow.socket_af;
allow.raw_sockets;
allow.chflags;
allow.sysvipc;
a {
devfs_ruleset="20";
}
[a=20]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path 'mixer*' unhide
add path 'dsp*' unhide
add path 'zfs*' unhide
You're wrong. CBSD can also manage XEN and QEMU/NVMM ;-). But these are virtual machines, and therefore irrelevant in this topic. As far as containers, CBSD can create ARMvX/RISCV... jails on x86-64 arch using qemu-user-mode ( usefull for testers/porters ). Personally, it seems to me that due to the lack of support from commercial companies (or FreeBSD Foundation), all such "jail managers" reach the same stage and die. Things like "create", "clone", "start/stop", "delete", "import" and "export" containers are the most basic primitives, but we don't see anything beyond that (for example: scaling, service-discovery/healthing, DRS ( dynamic resource scheduling ), public registry ( templates like:pot/bastillebsd/iocage/ezjail for jail only, whereas cbsd can also manage virtual machines (like vm-bhyve).
pkg install <portname>
service enable <portname>
service start <portname>
Thank you, yep I know it 's what describes the handbook somehow and it reminds me this blog article:For jails, you can also go bare-bones.
Just write a manual /etc/jail.conf i use for poudriere in a jail
cat jail.conf
Code:# Common configs for all jails path = "/jails/$name"; host.hostname = "$name"; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.clean; persist; ip4 = inherit; ip6 = inherit; mount.devfs; mount.fdescfs; allow.mount; allow.mount.devfs; allow.mount.fdescfs; allow.mount.nullfs; allow.mount.tmpfs; allow.mount.procfs; allow.mount.zfs; enforce_statfs=1; children.max=100; allow.socket_af; allow.raw_sockets; allow.chflags; allow.sysvipc; a { devfs_ruleset="20"; }
/etc/devfs.rules
Code:[a=20] add include $devfsrules_hide_all add include $devfsrules_unhide_basic add include $devfsrules_unhide_login add path 'mixer*' unhide add path 'dsp*' unhide add path 'zfs*' unhide
This is a great idea. In two months, I invite you all to a party - we will celebrate the tenth anniversary of the CBSD project..., my ten-year-indie-project ?.It would be beneficial to all if one of more members could share their experiences (or pieces of experience) on the two contending clustering suite for *BSD.
Best feature indeed. I like! But sometimes, you want to get under the hood or do the plumbing yourself - e.g. change your car oil filter. By doing so, you begin to have more understanding of how things work. That is why PURE JAIL with none of the above framework has the best best feature. And many more people, including myself, use or prefer it.cbsd: I didn't really use this cause I thought it was so complicated, it was beyond my puny brain understanding. Seems to have the best feature set among them all, including support for various types of hypervisors.
VM or Jails? And why so many?over 150+ VMs with CBSD
This is a great idea. In two months, I invite you all to a party - we will celebrate the tenth anniversary of the CBSD project..., my ten-year-indie-project ?.