knowledge
BookshelfQuotes
draft
draft
  • Start here!
  • Books
  • Quotes
  • Research
  • Curriculum
  • places
    • North America
      • Miami, Florida
      • Atlanta, Georgia
      • Syracuse, New York
      • Los Angeles, California
      • New York, New York
      • Buffalo, New York
    • South America
      • Quito, Ecuador
    • Europe
      • Madrid, Spain
    • Africa
  • technology
    • Docker
    • Unix
    • Jupyter
    • Cloud
      • Google Cloud Platform
    • Programming Languages
  • self
    • Nutrition
    • Fitness
    • Mind
Powered by GitBook
On this page

Was this helpful?

  1. technology
  2. Cloud

Google Cloud Platform

PreviousCloudNextProgramming Languages

Last updated 5 years ago

Was this helpful?

Containers

This walkthrough demonstrates how to upload a Docker container to Google Container Registry.

Some helpful guides:

Ensure the Docker image on your local device is up to date

docker build -t <YOUR-IMAGE> .
gcloud auth configure-docker ## use GCP credentials
[HOSTNAME]/[PROJECT-ID]/[IMAGE] ## hostname = us.gcr.io
docker tag [SOURCE_IMAGE] [HOSTNAME]/[PROJECT-ID]/[IMAGE]
docker push [HOSTNAME]/[PROJECT-ID]/[IMAGE]
Google Container Registry Documentation