Hi !
I’ve the following issue while running the nipype/nipype:py38
docker container in detached mode rather than in interactive.
Please let me know if you have any clue of what is happening. Thanks !
Interactive mode
# Starting a container in interactive mode (option -i)
docker pull nipype/nipype:py38
docker run --rm -it nipype/nipype:py38
# Installing requests from inside the container
pip install requests
Requirement already satisfied: requests in /opt/miniconda-latest/envs/neuro/lib/python3.8/site-packages (2.28.1)
...
# Checking conda information from inside the container
conda info
active environment : neuro
active env location : /opt/miniconda-latest/envs/neuro
...
Detached mode
The conda environment neuro
is not activated, pip is not recognized
# Starting a container in detached mode (option -d)
docker pull nipype/nipype:py38
docker run --rm -dt --name narps_open nipype/nipype:py38
# Trying to install requests from outside the container
docker exec narps_open pip install requests
Error: crun: executable file `pip` not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found
# Checking conda information from outside the container
docker exec narps_open conda info
active environment : None
...