firectl
Command-line launcher for Firecracker microVMs
TLDR
SYNOPSIS
firectl [*OPTIONS*]
DESCRIPTION
firectl is a basic command-line tool to run Firecracker microVMs with console access, disk I/O, and optional networking. It wraps the firecracker binary: you supply a Linux kernel image (vmlinux) and root filesystem image, plus optional extra drives, TAP NIC, vsock, CPU/memory, and MMDS metadata.By default it searches PATH for firecracker. Build with Go 1.23+ (go build or make build-in-docker). Needs KVM access (for example setfacl on /dev/kvm).
PARAMETERS
--firecracker-binary=path
Path to the firecracker binary.--kernel=path
Kernel image (default ./vmlinux).--kernel-opts=cmdline
Kernel command line.--root-drive=path[:ro|:rw]
Root disk image, optional :ro or :rw suffix.--add-drive=path[:ro|:rw]
Additional drive (repeatable).--tap-device=DEVICE/MAC
TAP NIC configuration.--vsock-device=PATH:CID
Vsock interface (repeatable).-c, --ncpus=n / -m, --memory=MiB
vCPU count (default 1) and memory in MiB (default 512).--cpu-template=C3|T2
Firecracker CPU template.-t, --disable-smt
Disable simultaneous multithreading.-s, --socket-path=path
Firecracker API socket path.-d, --debug
Debug output.See firectl --help for log FIFOs, metrics, metadata JSON, and partition options.
INSTALL
CAVEATS
Requires hardware virtualization (KVM) and a working Firecracker install. Kernel and rootfs must be Firecracker-compatible. Root/network setup often needs elevated privileges. Not a full orchestration stack (see Firecracker docs and tools like flintlock for production fleets).
SEE ALSO
firecracker(1), qemu(1), cloud-hypervisor(1)
