Skip to content

🧨 VM with Arch. Familiarizing myself with Firecracker microVMs. I'd like to use NixOS.

Notifications You must be signed in to change notification settings

mccurdyc/firecracker-arch

Repository files navigation

firecracker-arch

Project Goal(s)

My goal with this project is to be able to quickly spin up a VM on my home network possibly available outside of my home network by adding them to my tailscale network for experimentation that looks identical --- i.e., running Arch Linux with my dotfiles --- to my host development machine. In the future, I'd like to try to mount my $HOME into the VMs via something like upspinfs so that I don't have to worry about checking changes into git and pulling them down everywhere, etc. I've experienced the challenge of maintaining my dotfiles between my work and personal machines and I struggle to check in changes.

Getting Started

  1. Build a root filesystem and uncompressed kernel.

    Note(s): here are the official docs.

    ./create-arch-rootfs.sh

    This will create a user root with a default passphrase of root.

  2. Create a bridge network interface on your host.

    https://github.com/firecracker-microvm/firecracker/blob/main/docs/network-setup.md#advanced-setting-up-a-bridge-interface

  3. Start a VM with an alias of foobar.

    ./02-launch_vm.sh foobar

About

🧨 VM with Arch. Familiarizing myself with Firecracker microVMs. I'd like to use NixOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages