This page describes the steps to enable and disable Container Registry.
See Pricing for information about charges for Container Registry.
See the Container Analysis documentation for information about enabling Container Analysis APIs and pricing for vulnerability scanning.
Enabling service
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Cloud project. Learn how to check if billing is enabled on a project.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Cloud project. Learn how to check if billing is enabled on a project.
- Install and initialize Google Cloud CLI if it is not
already installed. To update an existing
installation, run the command
gcloud components update
. - Enable the API from Google Cloud console
or with the following
gcloud
command:gcloud services enable containerregistry.googleapis.com
Disabling service
To disable the API from the Google Cloud console:
console
- Go to the API Overview page for Container Registry.
- Select the project where the API is enabled.
- Click Manage.
- Click Disable API.
gcloud
Run the following command to disable the API for your current project:
gcloud services disable containerregistry.googleapis.com
What's next
- Configure access permissions