diff options
author | Franck Cuny <franck@fcuny.net> | 2021-05-15 13:54:00 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-05-15 13:54:00 -0700 |
commit | 32d0cbd5b30c8a94d0aefd42cfc4bba08106a6d9 (patch) | |
tree | 2227548fa6448c133af3fca57f64fa3edb5da55a | |
parent | boot the VM (diff) | |
download | containerd-to-vm-32d0cbd5b30c8a94d0aefd42cfc4bba08106a6d9.tar.gz |
readme: update instructions
-rw-r--r-- | README.org | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/README.org b/README.org index 53cee39..b821eb7 100644 --- a/README.org +++ b/README.org @@ -13,3 +13,19 @@ A recent [[https://fly.io/blog/docker-without-docker/][article]] from the team a 7. Hand all this stuff off to Firecracker and tell it to boot . As I've been interested in playing with both containerd's API and firecracker, I thought it would be a good opportunity to try to implement this. +* How +You'll need a few things before you can run this tool. +** Kernel +You'll need a kernel to run this. The following instructions should do it (to get a 5.8 kernel): +#+begin_src sh +git clone https://github.com/torvalds/linux.git linux.git +cd linux.git +git checkout v5.8 +curl -o .config -s https://github.com/firecracker-microvm/firecracker/blob/main/resources/microvm-kernel-x86_64.config +make menuconfig +make vmlinux -j8 +#+end_src +** CNI +You need CNI plugins and configurations installed. The recommended configuration is stored under ~hack/cni~. It needs to be copied to ~/etc/cni/conf.d~. +** Firecracker binaries +Running ~make firecracker-binary~ will download a version of firecracker under the directory ~hack/firecracker~. |