image
Parameters
URI of the Docker image to be used as the custom container for serving predictions. This URI must identify /artifact-registry/docs/overview and begin with the hostname {REGION}-docker.pkg.dev
, where {REGION}
is replaced by the region that matches AI Platform Prediction /ai-platform/prediction/docs/regional-endpoints that you are using. For example, if you are using the us-central1-ml.googleapis.com
endpoint, then this URI must begin with us-central1-docker.pkg.dev
. To use a custom container, the /ai-platform/prediction/docs/custom-service-account#default must have permission to pull (read) the Docker image at this URI. The AI Platform Google-managed service account has the following format: service-{PROJECT_NUMBER}@cloud-ml.google.com.iam.gserviceaccount.com
{PROJECT_NUMBER} is replaced by your Google Cloud project number. By default, this service account has necessary permissions to pull an Artifact Registry image in the same Google Cloud project where you are using AI Platform Prediction. In this case, no configuration is necessary. If you want to use an image from a different Google Cloud project, learn how to /artifact-registry/docs/access-control#grant-repo to your projet's AI Platform Google-managed service account. To learn about the requirements for the Docker image itself, read /ai-platform/prediction/docs/custom-container-requirements.