udocker icon indicating copy to clipboard operation
udocker copied to clipboard

proot error: unknown option '-i'.

Open iampcfox opened this issue 3 years ago • 5 comments

~ $ udocker run hello-world:linux Warning: check container content: e513eeee-d33f-3968-9228-947398e9d782 STARTING e513eeee-d33f-3968-9228-947398e9d782 executing: hello proot error: unknown option '-i'. proot error: see proot --help or man proot.

image

iampcfox avatar Jun 19 '21 10:06 iampcfox

use in termux

image

if i try to pull and run busybox like tutorial: image

iampcfox avatar Jun 19 '21 10:06 iampcfox

Could you please indicate which version of the proot package you have ?

pkg list-installed | grep proot

and also try a container image specifically compiled for arm64 ?

jorge-lip avatar Jun 23 '21 17:06 jorge-lip

Could you please indicate which version of the proot package you have ?image> pkg list-installed | grep proot

and also try a container image specifically compiled for arm64 ?

image

take hello-world in docker hub for example: image but udocker looks like does not support DIGEST configuration

and how should i pull images base arm64 ? thx

iampcfox avatar Jun 25 '21 05:06 iampcfox

I have same problem

~ $ udocker run --rm hello-world
Warning: check container content: 5ce02ff3-6b5f-3c74-b374-d28b52202f35
 
 ****************************************************************************** 
 *                                                                            * 
 *               STARTING 5ce02ff3-6b5f-3c74-b374-d28b52202f35                * 
 *                                                                            * 
 ****************************************************************************** 
 executing: hello
proot error: unknown option '-i'.
proot error: see `proot --help` or `man proot`.
~ $ UDOCKER_DEFAULT_EXECUTION_MODE=P1 udocker run --rm hello-world
Warning: check container content: 49eb4069-a86f-34ae-9498-9af10d7e5c70
 
 ****************************************************************************** 
 *                                                                            * 
 *               STARTING 49eb4069-a86f-34ae-9498-9af10d7e5c70                * 
 *                                                                            * 
 ****************************************************************************** 
 executing: hello
proot error: unknown option '-i'.
proot error: see `proot --help` or `man proot`.
~ $ UDOCKER_DEFAULT_EXECUTION_MODE=P2 udocker run --rm hello-world
Warning: check container content: 4560d757-c7cd-3774-b642-c7f5191c6ac7
 
 ****************************************************************************** 
 *                                                                            * 
 *               STARTING 4560d757-c7cd-3774-b642-c7f5191c6ac7                * 
 *                                                                            * 
 ****************************************************************************** 
 executing: hello
proot error: unknown option '-i'.
proot error: see `proot --help` or `man proot`.
~ $ UDOCKER_USE_PROOT_EXECUTABLE=`which proot` udocker run --rm hello-world
Warning: check container content: 75c831d7-7a33-33ec-b331-146c722525b0
 
 ****************************************************************************** 
 *                                                                            * 
 *               STARTING 75c831d7-7a33-33ec-b331-146c722525b0                * 
 *                                                                            * 
 ****************************************************************************** 
 executing: hello
proot info: vpid 1: terminated with signal 4
~ $ 

to reproduce:

Install termux from google play apt update apt upgrade apt install python3 pip3 install -U pip pip3 install udocker udocker install udocker run ...

zh99998 avatar Aug 22 '21 07:08 zh99998

You should not install termux from google play. Only from F-Droid.

mguinhos avatar Mar 05 '22 08:03 mguinhos