qemu-docker
qemu-docker copied to clipboard
[Question]: how to add new disk after container is up
Is your question not already answered in the FAQ?
- [X] I made sure the question is not listed in the FAQ.
Is this a general question and not a technical issue?
- [X] I am sure my question is not about a technical issue.
Question
how to add new disk after container is up? I try to modify docker's config.v2.json file. DISK_SIZE2=4G and ARGUMENTS=-drive id=disk2,format=raw,file=/storage/disk2.img" It is not working.
Its described in the FAQ, you need to bind /storage2 like this:
volumes:
- /home/example:/storage2