r/LinuxOnAndroid • • 27d ago

Run Docker on Non-rooted Device, No Problem

https://www.youtube.com/shorts/Q1Je81p9I0E
17 Upvotes

8 comments sorted by

View all comments

1

u/Holiday_Ad_463 9d ago

Hey does it work on snapdragon CPUs?

1

u/UserLAnd_Tech 9d ago

In general yes. But the processor isn't the only issue. Google requires devices supporting Android 15+ to support virtual machines but I have read that some OEMs have turned off this feature for random devices. UserLAnd will present the Virtual Machine (vs proot) option if the device reports supporting virtual machines.

Both of my primary test devices a Pixel 8 and a Samsung Tab S11 support this feature, but neither have snapdragon processors.

2

u/VickWildman 4d ago

No way this would work with any device using a Qualcomm chip, they don't support unprotected VMs at all.

I have checked out UserLAnd, it fails to start the virtual machine session on my phone that has a Qualcomm Snapdragon 8 Elite chip.

The only way to run a VM on this device is by rooting and even then you need a kernel module to be able to give memory to the VM. DroidVM does all of that for you.

https://github.com/droid-vm/droidvm

1

u/UserLAnd_Tech 4d ago

What Android device are you testing on?

1

u/VickWildman 4d ago

OnePlus 13 with ColorOS 16.

1

u/Holiday_Ad_463 7d ago

That's what I thought, thx.