Deploy your application on GCP Cloud Run with Artifact Registry and Docker containers

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 11

  • @anirudhhosur3827
    @anirudhhosur3827  Рік тому +2

    Please do follow these commands to push Docker Image to Artifact Registry -->
    docker build -t
    gcloud services enable artifactregistry.googleapis.com
    gcloud artifacts repositories create {repo-name} --repository-format=docker --location=us-central1 --description="created repo"
    gcloud auth configure-docker us-central1-docker.pkg.dev
    docker tag {local-image-name} us-central1-docker.pkg.dev/{project-name}/{repo-name}/{gcp-image-name}
    docker push us-central1-docker.pkg.dev/{project-name}/{repo-name}/{gcp-image-name}

  • @ajaybhamare8237
    @ajaybhamare8237 Місяць тому

    Hey thats really helpfull video

  • @JavierVelas-x4i
    @JavierVelas-x4i Рік тому +2

    When doing docker push... it shows a message unauthorized: authentication failed

    • @anirudhhosur3827
      @anirudhhosur3827  11 місяців тому

      Did you log in to Docker installed on your device?

  • @altafziya6062
    @altafziya6062 Рік тому +1

    Error: Forbidden
    Your client does not have permission to get URL /home from this server. i have got this error.

    • @anirudhhosur3827
      @anirudhhosur3827  11 місяців тому

      Something to do with admin rights.
      Paste your error and search on stackoverflow.
      Its the best!

  • @ajaybhamare8237
    @ajaybhamare8237 Місяць тому

    I have similar use case but inplace of frontend i have plain python code so in that case as well the same path i need to follow

    • @anirudhhosur3827
      @anirudhhosur3827  Місяць тому

      @@ajaybhamare8237 Yup, dockerise then push to artifact registry.
      Then pull the artifact to Cloud run.

  • @preethijayan3404
    @preethijayan3404 Рік тому

    How is internetworking course in dalhousie...pls reply...

    • @anirudhhosur3827
      @anirudhhosur3827  Рік тому

      Hi, I'm not part of that course. So, I'm sorry I can't provide any accurate information.