4 ms·
I 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 s
by decide1000 4y ago
I 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.