jeff
jeff
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
Not me lol, I got it from the Ubuntu template base image that runpod provides 😆 Just had the change the environment variable
39 replies
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
Luckily everything works, just a little unfortunate they can't save it properly. Not such a big deal for me. Thanks again for the help!
39 replies
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
I'll try that
39 replies
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
It worked! Thanks for the help, I couldn't get start.sh to work properly but ended up using this as the docker command: bash -c "apt update;apt install -y wget;DEBIAN_FRONTEND=noninteractive apt-get install openssh-server -y;mkdir -p ~/.ssh;cd $_;chmod 700 ~/.ssh;echo $PUBLIC_KEY > authorized_keys;chmod 700 authorized_keys;service ssh start;sleep infinity" I have another question though. My Dockerfile correctly fills the /PaddleOCR folder of the RunPod, but only when the volume mount path is something different. If I try to point the volume mount path also at /PaddleOCR, when I connect, it's empty. I thought that the volume mount path is intended to keep my files, and I want to keep the contents of PaddleOCR in the event of a shutdown?
39 replies
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
That makes sense, I'll try it now
39 replies
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
OK, I have no problem admitting I am confused beyond belief and would love help. I am trying to connect it via ssh.
39 replies
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
What do you mean by that? I'm setting my custom docker image as the template for the pod, the same as the pytorch custom docker images, right?
39 replies
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
I would like to be able to do so, would that be via TCP? For some reason, it says that I cannot have any TCP connections to this specific RunPod. For other pods with images (like PyTorch) I am able to connect my VSCode to it
39 replies
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
If I do slep infinity, I can't run any bash commands. My goal is to be able to run arbitrary bash commands after it starts?
39 replies
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
Where would I add that?
39 replies
RRunPod
Created by jeff on 1/9/2024 in #⛅|pods
Issues with connecting/initializing custom docker image
My dockerfile, for reference
39 replies