Dealsourcr Support Team
Dealsourcr Support Team
RRunPod
Created by Dealsourcr Support Team on 11/4/2024 in #⚡|serverless
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 }
4 replies