Feedback requested for PERSISTENT DISKS DISCUSSION: -e PERSISTENT=true -v "${PWD}/image.img:/image"
#455
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
help wanted
Extra attention is needed
question
Further information is requested
I have estimated the amount of human time it takes people to create and copy/mv out images and I think it's high. I want to add persistent disks on the first run (add the ability, nothing being removed, all old processes work, as I will never deprecated anything)
Take note, all of this is done OUTSIDE of Docker, but also consider that to get the image from INSIDE the Docker, it will take work also.
Option 1:
Should I add a (default) check (for every single container) where you can say you want
qemu-img create -f qcow2 image.img 512G -e PERSISTENT=true \ -v "${PWD}/image.img:/image" \
Option 2:
Or the same, but it it will just check if you're supplying an image instead of using PERSISTENT, it will just realise
/image
, is a raw.img
, withoutPERSISTENT=true
neededqemu-img create -f qcow2 image.img 512G -v "${PWD}/image.img:/image" \
Option 3:
If users might accidentally overwrite their disk, use date, for example:
This will create in current directory
./image_2022-02-23-16:24:11.img
, format it to skip disk utility step.Option 4:
Or leave everything as-is.
The text was updated successfully, but these errors were encountered: