← Cloud Run169 / 640
easygcloud

Deploy a container to Cloud Run with public access enabled

command

gcloud run deploy my-app --image=gcr.io/my-project/my-app:v2 --region=us-central1 --platform=managed --allow-unauthenticated

Command breakdown

Part of the Google Cloud CLI (gcloud) — Cloud Run category.

gcloudrundeploymy-app--image=gcr.io/my-project/my-app:v2--region=us-central1--platform=managed--allow-unauthenticated
FlagPurpose
--imageSet to: gcr.io/my-project/my-app:v2
--regionSet to: us-central1
--platformSet to: managed
--allow-unauthenticatedBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →