3 ms·
On FreeBSD there is something called Bhyve. It is an efficient container solution with several native FreeBsd advantages like OpenZFS and NVMe support. That ena
by decide1000 4y ago
On FreeBSD there is something called Bhyve. It is an efficient container solution with several native FreeBsd advantages like OpenZFS and NVMe support. That enables features like rapid async replication and extreme corruption protection. Also in terms of speed and overhead (resource usage) it works amazing.
Another FreeBSD solution is Jails. I never seen a more powerful container solution. It is lightweight and has unique features like hierarchical Jails. Management is done over cli or solutions like Iocage.
Jails and its ancestors have been developed since 1975. The modern Jails is developed since 1998. It is an incredible flexible and lightweight virtualization platform.
Michael W Lucas wrote a very good book about it ("FreeBSD Mastery: Jails").
- CoolCold 4y agoSounds like FreeBSD could make DX much better even 20 years ago, before any Docker was created, but opted out of such step further? Or have not seen opportunity? Or some other specific reason?
- decide1000 4y agoIn popularity Unix is not the main OS for most developers. However, FreeBSD and jails, are used by the worlds largest companies. Netflix is famous for it but there are many examples. In my opinion the popularity of the OS among developers might be one of the reasons. Unix seems hardcore compared to Linux. I started to look at FreeBSD when I needed the network power, now I don't use anything else. For starters; Try GhostBSD - FreeBSD with a MATE desktop.
- rhatdan 4y agoBTW Podman has been ported to FreeBSD and works with jails. Although I have never tried it.
- crabbone 4y agoLinux is certified UNIX... Developers aren't "scared of UNIX". They are scared of things they don't know, and "don't know" in this context means Google search page doesn't explode with results when they search for the thing. Anecdotally, people in storage business are much more familiar with FreeBSD due to FreeNAS and ZFS in general, but as some of my colleagues who previously worked for Dell EMC "storage division"^* recalled, the second most popular platform they had to adapt their storage solutions for was AIX... (and that trailed far, far behind Linux). It's also funny, in a way, since internally, they often did use FreeBSD in various departments because of FreeNAS. In a similar company, our home directory on dev. server was backed up by FreeNAS (we were also developing a storage product... for Linux). ---- * - There isn't really a "storage division" within Dell EMC afaik, just a bunch of different storage-related projects. I just had to describe those projects in some way.
- CoolCold 4y agoHonestly I couldn't understand you answer. > In popularity Unix is not the main OS for most developers. Because of FreeBSD don't want to be helpful? Had idea of Jails but had no resources to make it usable for developers? What's your opinion, knowing FreeBSD backstage?
- decide1000 4y agoLinux, MacOs and Windows are better environments if you want drop-in solutions. FreeBSD does not have a desktop environment (Use GhostBSD for that or add something custom). FreeBSD does not support Docker because it has better solutions in place. It can be a headache to set things up when you are new to Unix. Don't expect that the latest version of some Jetbrains IDE is 2 commands away. Compiling and other solutions might be needed. The community of FreeBSD is very helpful. The forum and several maillists are the best way to go with questions.
- JustFinishedBSG 4y agoIsn't Bhyve a full-on hypervisor ?
- decide1000 4y agoI compare Bhyve often with Docker or Podman. It is a hypervisor and virtual machine manager. Basically you link a ISO and run it. It can be any OS. There are several ways to run Bhyve: - CLI - Libvert and virt-manager - vm-bhyve A vm-bhyve template can look like this: loader="uefi" graphics="yes" xhci_mouse="yes" cpu=2 cpu_sockets=1 cpu_cores=2 memory=4G network0_type="virtio-net" network0_switch="public" disk0_type="nvme" disk0_name="disk0.img" disk1_type="ahci-cd" disk1_dev="custom" disk1_name="/path/to/disc.iso" Sample config: https://github.com/churchers/vm-bhyve/blob/master/sample-templates/config.sample https://github.com/churchers/vm-bhyve/blob/master/sample-tem... I use Jails to run applications like Postgres, Redis, Python api in an isolated environment. Jails is native FreeBSD, but isolated.
- CoolCold 4y agoIt is. Parent comment just messes and misunderstands/focus only on "isolation" part of Podman/Docker, which is foundation but hardly a selling point of those products.