Skip to content

cbsd/cbsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CBSD Project

CBSD is a cross-platform wrapper for fast deployment of virtual machines and containers.

Notes: Despite the fact that the project is focused on BSD-family OSes ( this is evident from the project name + check the #Goals ), the port to GNU/Linux happened almost automatically as part of the work on supporting QEMU and netlink-based utilities such as ip(8);

Tested/supported with following OSes and hypervisor/container engines:

Platform[*1] bhyve FreeBSD jail QEMU KVM NVMM Xen
DragonFlyBSD - y y - y -
FreeBSD y y y [*2] - - y
HardenedBSD y y y - - -
XigmaNAS y y - - - -
GNU/Linux [*3] - - y y - -
ℹ️ [^1] The project welcomes the addition of new platforms. On our horizon: OpenBSD, NetBSD, MacOS, CGROUP/systemd-nspawn (as container engine);
ℹ️ [^2] Can be used without acceleration: user-mode for jails and/or emulation of non-native architectures;
ℹ️ [^3] Linux support is experimental, currently the following distributions have been successfully tested: Debian, Ubuntu, Manjaro;
:---: :---

jail demo bhyve demo cbsdfile jail demo

Usage

Quick start: /share/docs/cbsd_quickstart.md

Full guide: /share/docs/docs.md

CBSD Project History and Goals

Origins

The CBSD project was born in 2013 in response to a dismissive comment online claiming "Clouds can't be built on FreeBSD, Linux forever!" At the time, the Linux ecosystem was flourishing with numerous cloud and virtualization solutions from both major corporations and smaller companies, including OpenVZ, Docker, Rancher, Kubernetes, LXD, OpenNebula, OpenStack, Proxmox, oVirt, XEN/XCP-NG, OpenShift, ISPPanel, and many others.

Initial Mission

From 2013 to 2025, our primary mission was to showcase FreeBSD's capabilities as a robust hosting platform. We embraced this challenge with enthusiasm, leading to the development of several key products designed to make FreeBSD more accessible to newcomers:

This expansion led to significant script refinements, making the eventual addition of Linux support almost seamless. The project had grown beyond its FreeBSD roots, having earned significant recognition from the FreeBSD community—an achievement we continue to take pride in.

Adapting to Modern Challenges

The IT landscape is rapidly evolving, presenting new challenges that demand innovative solutions. One prominent trend is the shift toward multi-cloud architectures, designed to mitigate risks associated with dependence on specific operating systems or hypervisors.

CBSD's next challenge is to provide platform-agnostic solutions, ensuring consistent operations across multiple operating systems and virtualization engines. This approach offers several advantages:

  • Vendor Independence: If your preferred Linux distribution becomes less open or changes ownership (like Microsoft's acquisition), you can seamlessly switch to any BSD system.
  • Hardware Flexibility: If BSD shows limitations on specific hardware, you can easily transition to any free Linux distribution.
  • Transparency: Since CBSD functions as an argument generator for launching and controlling virtual environments, you maintain full visibility of the underlying commands and complete control over your data.

The FreeBSD Ecosystem Today

The landscape has changed dramatically since CBSD's inception in 2013. While the project initially addressed a significant gap in FreeBSD solutions (with ezjail being the only notable alternative), the ecosystem has now become quite crowded. Today, numerous projects compete for the relatively small FreeBSD user base, offering similar capabilities.

A unique aspect of CBSD remains its integrated approach to managing both containers and virtual machines through a single interface—a feature that sets it apart from other solutions in the FreeBSD space.

AppJail, bastillebsd, bhyve-rc, bhyvemgr, bsdploy, bmd, bvm, chyves, cirrina, cloudbsd, crate, ezjail, finch, focker, fubarnetes, ioc, iocage: ( in shell, in python), iocell, iohyve, jadm, jail-primer, jailadmin, jailctl, jailer (1), jailer (2), jailutils, jest, jless, kjail, kleened, mkjail, pot, pyvm-bhyve, HosterCore, quickjail, qjail, quBSD, junj, rvmadm, tredly, vessel, virt-managervm-bhyve, warden, weasel, zjail, and other..

FreeBSD-jail-chart-2024

FreeBSD-bhyve-chart-2024

Frontend

Child project

The project is the core for such projects as:

Support

  • For CBSD-related support, discussion and talks, please join to Telegram CBSD usergroup channel ( @cbsdofficial ): https://t.me/cbsdofficial

Financial Contributors

Become a financial contributor and help us sustain our community. All funds are returned to the project (hosting, equipment, support) and invested in the development of a number of areas.

Patreon donate button

Stargazers over time

Stargazers over time