Or "slim": https://news.ycombinator.com/item?id=20182141
Typically, a docker filesystem doesn't include a proper unit (docker will inject "tiny init") - so you would probably have to add a kernel, and init, somehow.
I think I'd prefer to just create a vm, rather than re-use the pre-built docker.
It creates a block device using `qemu-img`, adds an empty filesystem using `mkfs.ext4` and then simply mounts it and copies in the files.
The previous posts cover this topic in more detail:
Day 43: Building VM images - https://jvns.ca/blog/2021/01/21/day-43--building-vm-images/
Day 44: Building my VMs with Docker - https://jvns.ca/blog/2021/01/22/day-44--got-some-vms-to-star...
We create a hard link to the resulting device for the root drive inside firecracker.