gotoz / runq

run regular Docker images in KVM/Qemu
Apache License 2.0
797 stars 45 forks source link

Can we use host mouth directory? #19

Closed lapnd closed 4 months ago

lapnd commented 3 years ago

Hi, As I see on the arch of runq, there is 9pfs component

Screenshot from 2021-08-30 14-54-16

I wonder if we can mount host folder to VM, like -v /home/user/data:/data

docker run --runtime runq -e RUNQ_MEM=512 -e RUNQ_CPU=2 -ti -v /home/user/data:/data  busybox sh
pmorjan commented 3 years ago

Yes that works.