• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Docker to GCR

January 12, 2020

Here’s a couple of steps to move a Docker image to the Google Container Registry.

Create a container image.

docker build -t gcr.io/${PROJECT_ID}/my-app:v1 .

docker build -t gcr.io/${PROJECT_ID}/my-app:v1 .

Push image to GCR.

docker push gcr.io/[PROJECT-ID]/[IMAGE]

docker push gcr.io/[PROJECT-ID]/[IMAGE]

Filed Under: Cloud Tagged With: build, docker, gcp, push

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023