One-command development sandboxes on Firecracker microVMs.
https://git.thaloco.com/thaloco/banger/
| .gitignore | ||
| firecracker | ||
| id_ed25519 | ||
| README.md | ||
| rootfs.ext4 | ||
| run.sh | ||
| vmlinux | ||
banger
Minimal Firecracker launcher.
Requirements
- Linux host with KVM (
/dev/kvmaccess) sudo,ip,curl,ssh
Files
firecracker: Firecracker binaryvmlinux: guest kernelrootfs.ext4: guest root filesystemid_ed25519: SSH key forroot
Run
./run.sh
SSH
ssh -i "./id_ed25519" root@<guest_ip>
Shutdown
reboot
Log Notes
PCI: Fatal: No config space access function foundandMissingAddressRangelines are expected withpci=offinrun.sh.SELinux: Could not open policy file ...is expected in the minimal rootfs.