correct way to call jupyter in template
I'm trying to learn how to create a template. I'm using
FROM runpod/pytorch:2.1.1-py3.10-cuda12.1.1-devel-ubuntu22.04
as a base, which I beleive already comes with jupyter. As such I am tryign to run jupyter in my start.sh file using the command below:
echo "Starting Jupyter Lab..."
jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --NotebookApp.token='' --NotebookApp.password='' &
however, while the echo is propelry logged to the system log, unfortunately the button to access jupyter does not appear in the pod as it should. When I try to access it manually by going to podid-podport.runpod.ne i'm presented with a white page.
I also checked to make sure that the port is properly exposed in the template and pod panels.
What am I doing wrong?
5 Replies
Great! So the button appears now, however it shows up as yellow / not ready. Does it have anything to do with setting a password?
Don't know, I set a password.
oh i see what i did wrong. I forgot to call the function
facepalm:SamiyaFacepalm: