aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/exp/containerd-to-vm/.gitignore (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-11repo(containerd-to-vm): remove unneeded filesFranck Cuny1-5/+0
Change-Id: I4d229d0f4a9142e3bd427a8e63733426f5ca5bd9 Reviewed-on: https://cl.fcuny.net/c/world/+/412 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-11hack: firecracker binary and CNI configurationFranck Cuny1-0/+3
Add a target to the Makefile to download a version of firecracker and extract it under the repository hack/firecracker. We will then use this binary for running the VM. Add a CNI configuration under hack/cni. This configuration will need to be copied to `/etc/cni/conf.d`.
2022-06-11git: ignore binaryFranck Cuny1-0/+1
2022-06-11pull a container into a namespaceFranck Cuny1-0/+1
Pull an image provided as an argument to the program. We're only interested in images for Linux/amd64 at the moment. We setup a default namespace for containerd named `c2vm`. Images that will be pulled by containerd will be stored inside that namespace. Once the program is build it can be run like this: ``` ; sudo ./c2vm -container docker.io/library/redis:latest pulled docker.io/library/redis:latest (38667897 bytes) ``` And the image is indeed in the namespace: ``` ; sudo ctr -n c2vm images ls -q docker.io/library/redis:latest ```