dock-droid icon indicating copy to clipboard operation
dock-droid copied to clipboard

File System

Open stgreenb opened this issue 4 years ago • 2 comments

Is it possible to map a volume in docker so its visible to android?

"Modifying the Android filesystem" seems to do the opposite, though running sudo qemu-nbd --connect=/dev/nbd0 android.qcow2 -f qcow2 on the host where docker is loaded provided this output

qemu-nbd: Failed to blk_new_open 'android.qcow2': Could not open 'android.qcow2': No such file or directory

stgreenb avatar Dec 07 '21 20:12 stgreenb

You can use a raw image file here:

-e ENV IMAGE_PATH=/home/arch/dock-droid/android.qcow2
-e ENV IMAGE_FORMAT=qcow2

https://github.com/sickcodes/dock-droid/blob/master/Dockerfile#L182-L183

You would have to move the android.qcow2 from /var/lib/docker into your current working directory, does that make sense?

sickcodes avatar Dec 07 '21 22:12 sickcodes

image The bliss site seems to give an example of adding a -v /tmp/.X11-unix volume. But trying that I do not see the volume inside bliss.

stgreenb avatar Oct 31 '22 03:10 stgreenb