diff options
author | Franck Cuny <franck@fcuny.net> | 2021-05-15 13:54:00 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-06-11 13:57:42 -0700 |
commit | 62b6c76f1b35187086c7412849b13def04ad9ca2 (patch) | |
tree | 2a0e30670b17f3e67f64bc7c2c45c92cda83716b | |
parent | boot the VM (diff) | |
download | world-62b6c76f1b35187086c7412849b13def04ad9ca2.tar.gz |
readme: update instructions
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/exp/containerd-to-vm/README.org | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/users/fcuny/exp/containerd-to-vm/README.org b/users/fcuny/exp/containerd-to-vm/README.org index 53cee39..b821eb7 100644 --- a/users/fcuny/exp/containerd-to-vm/README.org +++ b/users/fcuny/exp/containerd-to-vm/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~. |