RunpodR
Runpod12mo ago
Bersaelor

How to set ContainerRegistryAuth for `podRentInterruptable`

When renting interruptable pods using GraphQL, like so:

mutation { 
  podRentInterruptable( input: { 
    bidPerGpu: 0.09, 
    cloudType: COMMUNITY, 
    gpuCount: 1, 
    volumeInGb: 4, 
    containerDiskInGb: 4, 
    minVcpuCount: 2, 
    minMemoryInGb: 8, 
    gpuTypeId: "NVIDIA GeForce RTX 3080 Ti", 
    name: "gpu-dev-ovh-dev-0-0", 
    imageName: "efnats/chia-recompute:develop", 
    containerRegistryAuthId: "<id>",
    dockerArgs: "", 
    ports: "", 
    volumeMountPath: "/workspace", 
    env: [
      { key: "PROXY_IP", value: "51.195.44.53"},
      { key: "INSTANCE_NAME", value: "gpu-dev-ovh-dev-0-0"}
    ] 
  } ) { 
      id
      imageName 
      env 
      machineId 
      machine { 
        podHostId 
      } 
    } 
}


containerRegistryAuthId
doesn't seem to be part of the
PodRentInterruptableInput
https://graphql-spec.runpod.io/#definition-PodRentInterruptableInput specification.

How do we rent an interruptible pod where the image is private on DockerHub?
Was this page helpful?