Docker images will be stored in regional Artifact Registry repositories.
By default, GCF will create and use repositories named gcf-artifacts
in every region in which a function is deployed. But the repository to
use can also be specified by the user using the docker_repository
field.
ContainerRegistry
Docker images will be stored in multi-regional Container Registry
repositories named gcf.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eCloudFunction.Types.DockerRegistry\u003c/code\u003e enum within the Google Cloud Functions v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eCloudFunction.Types.DockerRegistry\u003c/code\u003e is 2.7.0, with previous versions ranging from 2.6.0 down to 1.1.0 also being documented.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDockerRegistry\u003c/code\u003e enum specifies where Docker images for functions will be stored, with options for \u003ccode\u003eArtifactRegistry\u003c/code\u003e or \u003ccode\u003eContainerRegistry\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eArtifactRegistry\u003c/code\u003e allows for storing Docker images in regional repositories, while \u003ccode\u003eContainerRegistry\u003c/code\u003e stores them in multi-regional repositories.\u003c/p\u003e\n"],["\u003cp\u003eThere is also an \u003ccode\u003eUnspecified\u003c/code\u003e option available in this enum.\u003c/p\u003e\n"]]],[],null,["# Cloud Functions v1 API - Enum CloudFunction.Types.DockerRegistry (2.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Functions.V1/latest/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.6.0/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.5.0/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.4.0/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.3.0/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.2.0/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.1.0/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/2.0.0/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/1.3.0/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/1.2.0/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Functions.V1/1.1.0/Google.Cloud.Functions.V1.CloudFunction.Types.DockerRegistry) \n\n public enum CloudFunction.Types.DockerRegistry\n\nReference documentation and code samples for the Cloud Functions v1 API enum CloudFunction.Types.DockerRegistry.\n\nDocker Registry to use for storing function Docker images.\n\nNamespace\n---------\n\n[Google.Cloud.Functions.V1](/dotnet/docs/reference/Google.Cloud.Functions.V1/latest/Google.Cloud.Functions.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Functions.V1.dll"]]