I have downloaded the anaconda docker image from here and I am running it on MacOS. I have come across the following issue and I would highly appreciate your help!
When I try running Ipython by the following command
docker run -it pyimg ipython
I get the error
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"ipython\": executable file not found in $PATH": unknown.
This makes me think that the $PATH in docker does not entail the location of ipython. However, when I spin the container by first executing the bash and then by launching ipython, everything works fine! More precisely,
docker run -it pyimg bash
To make things even more confusing,
docker run -it pyimg python
works perfectly! I already checked inside the container and realized that both python as well as ipython are located in the same directory /opt/conda/bin
How is it possible that this behavior is exhibited and how can I fix it? Thank you very much in advance for your help!