Deploy custom private docker image
Hey guys. Is it possible for me to deploy my custom docker image without making it public? (That would be show stopper for my project) I've seen the docs about Bazel but it seems like it creates just public repositories in your docker hub. I've also seen the credentials but they were login and password and I don't really feel comfortable sharing those to my docker account when they have api keys for that
10 Replies
Yes, use registry auth
i think thats the only way? using registry auth.
you can add them in settings
Hi I created a key from dockerhub and added it to runpod settings "Container Registry Auth". I chose a ranomd credential name, input my dockerhub username as the username of the credential, and used the generated key as the password. But whenever i try to start a pod with the template, it says credentials not correct. Is there anything that i did wrong? (I did choose the created credential in template)
seems to be corrct? which generated key? did you copied it all?
or maybe your key expired / try again
your image registry is from dokerhub too right?
Yes it is from dockerhub. I'm really confused why wouldn't it work now :/
Did you follow these steps?
1. Creating a access token in Dockerhub for runpod
2. Copy the credential (docker password) from the form that follows then you click Generate
3. Finally at Runpod, going to Account > Settings > Container Registry Auth and adding the credential such as:
4. When launching pods, select/attach that named credential (dockerhub-read in the example above), else the pod won't actually use it when pulling the image.
wew you really do some effort there drawing the ui as text
Thanks for the detailed explaination! I did follow all steps. When using images from dockerhub I usually use <username>/<project name>:<tag> And it works for public images that i created. But it no longer work when I try private images
@nerdylive @jojje Thank you guys a lot for the help it worked now! Porbably because i accidentally included blank space when pasting the credential into runpod.
Haha okay nice finally
@nerdylive hah. Well, Sonnet did that (the screenshot transcription). Didn't think one could paste images into discord chats.
hahah cool
yeah i think its allowed here, try it *next time