Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bkleiner/debian-firecracker
Build the debian kernel and rootfs for firecracker
https://github.com/bkleiner/debian-firecracker
debian firecracker microvm vm
Last synced: 21 days ago
JSON representation
Build the debian kernel and rootfs for firecracker
- Host: GitHub
- URL: https://github.com/bkleiner/debian-firecracker
- Owner: bkleiner
- License: mit
- Created: 2018-12-04T10:06:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-07T16:48:01.000Z (almost 4 years ago)
- Last Synced: 2024-08-07T06:06:02.625Z (3 months ago)
- Topics: debian, firecracker, microvm, vm
- Language: Shell
- Size: 28.3 KB
- Stars: 22
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# debian-firecracker
Docker container to build a linux kernel and ext4 rootfs compatible with [firecracker](https://github.com/firecracker-microvm/firecracker).## Usage
Build the container:
```shell
docker build -t debian-firecracker .
```Build the image:
```shell
docker run --privileged -it --rm -v $(pwd)/output:/output debian-firecracker
```Start the image with firectl
```shell
# 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.