R
Runpod7mo ago
Sajay

What's the right procedure for creating custom template images

I'm tyring to make my custom dockerfiles work with runpod. I've installed nginx and openssh-server as they are requirements listed in the github repo. I also copied over - start.sh from here and added that as the CMD in my custom dockerfile - nginx.conf from here to /etc/nginx/nginx.conf as in the official dockerfiles start.sh seems to be running properly and my public key is in ~/.ssh/authorized_keys. But, - SSH over TCP option is not showing up - When I try running ssh acbokxubu5sxng-64410f18@ssh.runpod.io it says Permission denied (publickey). Web terminal is working fine, but I couldn't connect to it using SSH. Please, can someone here help me with this?
GitHub
containers/container-template/start.sh at main · runpod/containers
🐳 | Dockerfiles for the RunPod container images used for our official templates. - runpod/containers
GitHub
containers/container-template/proxy/nginx.conf at main · runpod/co...
🐳 | Dockerfiles for the RunPod container images used for our official templates. - runpod/containers
8 Replies
riverfog7
riverfog77mo ago
Are you using community cloud?
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
Sajay
SajayOP7mo ago
ssh service is running fine when I check via web terminal. I checked using service ssh status, but it is still not letting me connect and the web UI is not showing ssh over TCP option @riverfog7 I'm on secure cloud. Is there a big difference on how we connect on secure Vs community cloud? I also tried community cloud and am facing the same issue
riverfog7
riverfog77mo ago
On some community clouds tcp ports are not availiable
riverfog7
riverfog77mo ago
No description
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
Sajay
SajayOP7mo ago
Ah! Adding 22 worked, thanks!
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?