Docker Registry API

Instead of providing a product-specific REST API, Container Registry implements a Docker protocol so that you can use the Docker Registry API directly to manage container images.

The Docker credential helper is the simplest way to configure Docker to authenticate directly with Container Registry. You can also use the client libraries to manage container images, or you can interact directly with the Docker API.

Before you start using the API, ensure that the following requirements are met:

  • You have the required permissions to push and pull images.
  • You have configured Docker to use gcloud as a credential helper or you are using another authentication method.

Refer to the Docker Registry API documentation for details about using the API.