Fazil T
Unable to run jupyter on custom docker image
I have done this on runpod (overriding the start cmd)
bash -c 'source ~/.bashrc && conda activate py && conda install -y jupyter && ./start.sh'
but somehow i still needed webterminal launch jupyter. 🤷♂️
16 replies
Unable to run jupyter on custom docker image
I've digged deep into the
start.sh
that runpod has, it invokes jupyter if JUPYTER_PASSWORD
set. https://github.com/runpod/containers/blob/main/container-template/start.sh#L75
However setting environment variables is happening after that:
https://github.com/runpod/containers/blob/main/container-template/start.sh#L96
I'm wondering how that lines gets invoked. Right now i have to open a shell into my pod, do conda install -y jupyter
and it just barely updates a file called certifi
and then jupyter command can be found. so I launch it and connect it.16 replies