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

Udocker fails when trying to run it with singularity inside blink #434

Open SerJaimeLannister opened 2 months ago

SerJaimeLannister commented 2 months ago

I was trying as an experiment to run udocker inside blink https://github.com/jart/blink/ No other mode actually works except singularity and it shows this error then , this definitely felt outside the scope of opening a issue on blink but rather this feels like the issue is on the side of udocker / apptainer

blink udocker run 7f8d5bba-38ea-384f-a963-d3cda77c8f35 ////////////////////////////////////////////////////////////////////////////// / / / STARTING 7f8d5bba-38ea-384f-a963-d3cda77c8f35 / / / ////////////////////////////////////////////////////////////////////////////// executing: sh WARNING: failed to set O_CLOEXEC flags on image INFO: Environment variable SINGULARITYENV_PATH is set, but APPTAINERENV_PATH is preferred INFO: Environment variable SINGULARITYENV_HOME is set, but APPTAINERENV_HOME is preferred INFO: Environment variable SINGULARITYENV_USER is set, but APPTAINERENV_USER is preferred INFO: Environment variable SINGULARITYENV_LOGNAME is set, but APPTAINERENV_LOGNAME is preferred INFO: Environment variable SINGULARITYENV_USERNAME is set, but APPTAINERENV_USERNAME is preferred INFO: Environment variable SINGULARITYENV_PS1 is set, but APPTAINERENV_PS1 is preferred INFO: Environment variable SINGULARITYENV_SHLVL is set, but APPTAINERENV_SHLVL is preferred INFO: Environment variable SINGULARITYENV_container_ruser is set, but APPTAINERENV_container_ruser is preferred INFO: Environment variable SINGULARITYENV_container_root is set, but APPTAINERENV_container_root is preferred INFO: Environment variable SINGULARITYENV_container_uuid is set, but APPTAINERENV_container_uuid is preferred INFO: Environment variable SINGULARITYENV_container_execmode is set, but APPTAINERENV_container_execmode is preferred INFO: Environment variable SINGULARITYENV_container_names is set, but APPTAINERENV_container_names is preferred WARNING: Overriding HOME environment variable with SINGULARITYENV_HOME is not permitted ERROR : Failed to spawn stage 1