Files
netris-nestri/packages/docker-to-rootfs/README.md
Wanjohi 7b29d68aed feat: Add package docker-to-rootfs (#121)
This package will handle creating the rootfs needed by CrosVM

> More info incoming
2024-10-10 14:42:16 +03:00

497 B

Docker to RootFS

We are building the rootfs as a docker image, mainly for consistency and ease of use. So, to convert the Docker image to a rootfs good enough to run inside CrosVM we use this script

Run it like so:

./make your-docker-image

TODO:

  1. Make sure the docker image name passed in exists
  2. Reduce the dependencies of this script to 1 (If possible)
  3. Extract not only the rootfs, but also kernel and initrd
  4. Add a way to pass in the size of the rootfs the user wants