Git Product home page Git Product logo

Comments (7)

cybrcodr avatar cybrcodr commented on July 29, 2024

GCR has not been updated yet. I can update this thread when it gets updated.

from golang-docker.

ahmetb avatar ahmetb commented on July 29, 2024

Which image are you referring to? (I'm trying to learn how GCR mirrors docker hub)

from golang-docker.

cybrcodr avatar cybrcodr commented on July 29, 2024

I was referring to the GCR image gcr.io/google-appengine/golang which is accessible via the gcloud tool.

The latest version is now 1.8.

from golang-docker.

ahmetb avatar ahmetb commented on July 29, 2024

Ah got it. I am new to all this. I guess my 2 questions:

  1. Do we always have :latest instead of :1.6, :1.7, :1.8?
  2. How do you access that image via gcloud?

from golang-docker.

cybrcodr avatar cybrcodr commented on July 29, 2024
  1. Yes. I think w/o specifying a tag, it will fetch the latest.
  2. To fetch the Docker image ...
    $ gcloud docker -- pull gcr.io/google_appengine/golang:latest

from golang-docker.

ahmetb avatar ahmetb commented on July 29, 2024

Yes. I think w/o specifying a tag, it will fetch the latest.

I understand, but my question was more like, do we have tags at all or is it only :latest? I am asking this because don't see any tags like :1.6 or :1.8 documented/listed anywhere (in README at least) so I am assuming :latest is the only tag that exists?

$ gcloud docker -- pull gcr.io/google_appengine/golang:latest

Ah got it, then docker pull gcr.io/google_appengine/golang:latest works just fine without gcloud too. I got confused for a moment when you said "accessible via gcloud". I think it's just a public image accessible from anything that can pull Docker images.

from golang-docker.

cybrcodr avatar cybrcodr commented on July 29, 2024

I understand, but my question was more like, do we have tags at all or is it only :latest? I am asking this because don't see any tags like :1.6 or :1.8 documented/listed anywhere (in README at least) so I am assuming :latest is the only tag that exists?

Yeah, we didn't document that. You can see all the tags by running ...

gcloud beta container images list-tags gcr.io/google_appengine/golang

We'll make sure to have the major version tag so users can use that to pin a particular version.

Ah got it, then docker pull gcr.io/google_appengine/golang:latest works just fine without gcloud too. I got confused for a moment when you said "accessible via gcloud". I think it's just a public image accessible from anything that can pull Docker images.

Good to know. I didn't know that docker can pull directly from GCR. I'm new at this too:)

from golang-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.