easygcloud

Create a Docker repository in Artifact Registry

command

gcloud artifacts repositories create REPO_NAME --repository-format=docker --location=REGION

also accepted

gcloud artifacts repositories creategcloud artifacts repositories create REPO_NAME --repository-format

Command breakdown

Part of the Google Cloud CLI (gcloud) — Alpha & Beta category.

gcloudartifactsrepositoriescreateREPO_NAME--repository-format=docker--location=REGION
FlagPurpose
--repository-formatSet to: docker
--locationSet to: REGION

Test your recall — not just your reading.

Practice with interactive quiz →