Skip to content

bkleiner/debian-firecracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

debian-firecracker

Docker container to build a linux kernel and ext4 rootfs compatible with firecracker.

Usage

Build the container:

docker build -t debian-firecracker .

Build the image:

docker run --privileged -it --rm -v $(pwd)/output:/output debian-firecracker

Start the image with firectl

# copy image and kernel
cp output/vmlinux debian-vmlinux
cp output/image.ext4 debian.ext4
# resize image
truncate -s 5G debian.ext4
resize2fs debian.ext4
#launch firecracker
firectl --kernel=debian-vmlinux --root-drive=debian.ext4 --kernel-opts="init=/bin/systemd noapic reboot=k panic=1 pci=off nomodules console=ttyS0"

Contributions

This project is actively looking for contributions/maintainers. I (bkleiner) have stopped using firecracker a while ago.

About

Build the debian kernel and rootfs for firecracker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published