R
Runpod10mo ago
Marvin

Container Registry Auth not working for private docker images

Hi guys, I created a key from dockerhub and added it to runpod settings "Container Registry Auth". I - chose a random credential name, - used 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)
Solution:
Thank you a lot for the help it worked now! Porbably because i accidentally included blank space when pasting the credential into runpod.
Jump to solution
6 Replies
Marvin
MarvinOP10mo ago
Should I use my email as username in container registry auth ?
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Marvin
MarvinOP9mo ago
Yes and my image is from dockerhub. I tried both the sha256 format and the tag format for the private docker hub image, it all failed to authenticate :/ I also tried locally login with the credential generated from Dockerhub and it worked. It just doesn't work when I'm using it in templates for pods. I tried generating two keys one with read only, another one with read&write access. None of them worked on runpod.
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Marvin
MarvinOP9mo ago
yeah I did Ill try again tmr
Solution
Marvin
Marvin9mo ago
Thank you a lot for the help it worked now! Porbably because i accidentally included blank space when pasting the credential into runpod.

Did you find this page helpful?