indigo-dc / udocker

A basic user tool to execute simple docker containers in batch or interactive systems without root privileges.
https://indigo-dc.github.io/udocker/
Apache License 2.0
1.38k stars 135 forks source link

Running Udocker inside Proot-Distro? #364

Closed Root-voidX closed 2 years ago

Root-voidX commented 2 years ago

Hello everyone,

So I am attempting to run udocker on Fedora 35 running inside proot-distro in termux on an android phone. I installed udocker and pulled an arm image of centos 7 and created the container, However when I try to run it (i made use to change exec mode to P1 for proot), it says the following:

Screenshot_20220724-023943_Termux

however when I tty to run any command, its running the command for fedora and not the container? Am I doing something wrong?

jorge-lip commented 2 years ago

udocker mode P1 and P2 make use of PRoot. Running udocker P1 or P2 inside PRoot will likely fail and is not supported.