Container Registry is deprecated and scheduled for shutdown. Effective May 15, 2024, Artifact Registry hosts images for the gcr.io domain in projects without previous Container Registry usage. After March 18, 2025, Container Registry will be shut down.
To get started with managing containers on Google Cloud, use Artifact Registry. If you use Container Registry, learn how to transition to Artifact Registry to manage your containers on Google Cloud.
Stay organized with collections
Save and categorize content based on your preferences.
Container Registry implements a Docker protocol so that you can push and pull
images directly with Docker clients, including the
Docker command-line tool.
Google Cloud services that typically integrate with
Container Registry, such as Cloud Build and Google Kubernetes Engine, are
configured by with default permissions to access
repositories in the same project and do not require a separate client.
If you want to interact with Container Registry without the Docker client,
we recommend using the gcrane tool. The tool provides:
Simple commands that work with Container Registry, Artifact Registry, and other
registries.
Useful commands for Container Registry and Artifact Registry tasks that do not
have an equivalent command in the Google Cloud CLI or the Docker command-line
tool, such as listing untagged images or copying images across registry hosts.
If gcrane isn't an appropriate option, you can use the Docker Registry HTTP API.
If using Docker or the gcrane tool is not an option, you can use the Docker
Registry HTTP API.
First, grant the required permissions to your user account. You can then use
the Google Cloud CLI to create an access token for requests.
The following example shows the command for listing tags, using
my-image as the image and my-project as the Google Cloud project. This
example also uses the jq command to filter and format the output returned by
requests, but it's optional. The jq tool is included in Cloud Shell.
[[["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-03-06 UTC."],[[["Container Registry is compatible with the Docker protocol, enabling direct image pushing and pulling using Docker clients."],["Google Cloud services like Cloud Build and Google Kubernetes Engine have default permissions to access repositories within the same project without requiring additional client setup."],["The `gcrane` tool is recommended for interacting with Container Registry without using a Docker client, and it offers commands not available in the Google Cloud CLI or Docker's command-line tool."],["For interactions beyond Docker or `gcrane`, the Docker Registry HTTP API is available, and authenticating through it requires proper permissions and the use of a Google Cloud CLI access token."],["Container Registry only supports monolithic uploads for container images, not chunked uploads."]]],[]]