R
Runpod15mo ago
beanie

Docker run in interactive mode

Hi, I want to be able to ssh into my pod and run bash commands. If i provide no entry command in my Dockerfile I am unable to connect to my pod via ssh. I also don't see anywhere with the option to edit the docker run command to include the interactive flag. Any help is appreciated
10 Replies
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
beanie
beanieOP15mo ago
Im using a custom message. Here is my dockerfile FROM ultralytics/ultralytics WORKDIR /workdir COPY src /workdir/src COPY datasets /workdir/datasets # i want to be able to run this manually # CMD [ "python", "src/train.py" ]
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
beanie
beanieOP15mo ago
"If it has no start command, the docker image would keep restarting forever, making it impossible for you to ssh into the pod" This is what i have been told by someone at runpod support. The web terminal never starts up
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
beanie
beanieOP15mo ago
Starts my model training. I want to be able to run that manually through a terminal as I will be training with lots of different settings. On vast.ai it is possible with this option
beanie
beanieOP15mo ago
No description
beanie
beanieOP15mo ago
I believe runpod does not have the ability to do this or edit the docker run command right?
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
beanie
beanieOP15mo ago
that seems to have done it! I am now able to start a web terminal thank you!

Did you find this page helpful?