Add Docker credentials to Template (Python code)

I struggle to find how to add my docker credentials to the template (Python code) - I have the credentials added to the settings in docker, but I can't find how to add them to the template. Anyone know how to do that? template = runpod.create_template( name=deployment_name, **TEMPLATE_CONFIG ) TEMPLATE_CONFIG = { "image_name": "name/image:tag, "is_serverless": True, "container_disk_in_gb": 10 }
1 Reply
nerdylive
nerdylive3mo ago
can you use the UI instead? im not familiar with the python code or do you need to use that way?

Did you find this page helpful?