Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bkleiner/ubuntu-firecracker
Build the ubuntu kernel and rootfs for firecracker
https://github.com/bkleiner/ubuntu-firecracker
firecracker mirovm ubuntu vm
Last synced: 3 months ago
JSON representation
Build the ubuntu kernel and rootfs for firecracker
- Host: GitHub
- URL: https://github.com/bkleiner/ubuntu-firecracker
- Owner: bkleiner
- License: mit
- Created: 2018-12-03T10:10:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T20:30:50.000Z (10 months ago)
- Last Synced: 2024-04-10T00:39:41.818Z (10 months ago)
- Topics: firecracker, mirovm, ubuntu, vm
- Language: Shell
- Size: 64.5 KB
- Stars: 78
- Watchers: 1
- Forks: 31
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ubuntu-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 ubuntu-firecracker .
```Build the image:
```shell
docker run --privileged -it --rm -v $(pwd)/output:/output ubuntu-firecracker
```Start the image with firectl
```shell
# copy image and kernel
cp output/vmlinux ubuntu-vmlinux
cp output/image.ext4 ubuntu.ext4
# resize image
truncate -s 5G ubuntu.ext4
resize2fs ubuntu.ext4
#launch firecracker
firectl --kernel=ubuntu-vmlinux --root-drive=ubuntu.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.