Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File System #7

Open
stgreenb opened this issue Dec 7, 2021 · 2 comments
Open

File System #7

stgreenb opened this issue Dec 7, 2021 · 2 comments

Comments

@stgreenb
Copy link

stgreenb commented Dec 7, 2021

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

@sickcodes
Copy link
Owner

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?

@stgreenb
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants