Complete the code to specify the container image URL in the deployment command.
gcloud run deploy my-service --image=[1] --region us-central1The --image flag requires the full container image URL including the registry, project, image name, and tag.
Complete the command to build a container image using Cloud Build.
gcloud builds submit --tag [1] .docker build or gcloud run deploy.The --tag flag needs the full image URL with registry and tag to push the built image correctly.
Fix the error in the deployment command by completing the missing flag.
gcloud run deploy my-service [1] gcr.io/my-project/my-image:latest --region us-central1--project instead of --image.--platform or --service-account.The deployment command requires the --image flag to specify which container image to deploy.
Fill both blanks to create a Dockerfile that sets the base image and exposes port 8080.
FROM [1] EXPOSE [2]
The FROM line sets the base image, here a lightweight Python image. The EXPOSE line tells Docker which port the container listens on, commonly 8080 for web apps.
Fill all three blanks to define a Cloud Run service deployment with memory limit, concurrency, and environment variable.
gcloud run deploy my-service --image gcr.io/my-project/my-image:latest --memory=[1] --concurrency=[2] --set-env-vars=[3]
The --memory flag sets the container memory limit, --concurrency controls how many requests a container handles at once, and --set-env-vars sets environment variables for the service.