Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 430 Bytes

docker.md

File metadata and controls

21 lines (14 loc) · 430 Bytes

Docker + Cloud Run

Documenting my janky workflow.

Image name: us.gcr.io/<project id>/<image name>

# Refresh credentials
gcloud auth login

# Building an image
docker build -t `<image name>` .

# Open a shell in container so you can run commands and test
docker run -it --rm <image name>:latest bash

# Push image to registry
docker push <image name>:latest

# Use Cloud console to point Cloud Run to latest image