mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
✨ feat: Add package docker-to-rootfs (#121)
This package will handle creating the rootfs needed by CrosVM > More info incoming
This commit is contained in:
15
packages/docker-to-rootfs/README.md
Normal file
15
packages/docker-to-rootfs/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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:
|
||||
```bash
|
||||
./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
|
||||
Reference in New Issue
Block a user