Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tagging versions? #68

Closed
ahmetb opened this issue Feb 28, 2017 · 7 comments
Closed

Tagging versions? #68

ahmetb opened this issue Feb 28, 2017 · 7 comments

Comments

@ahmetb
Copy link

ahmetb commented Feb 28, 2017

Is there a way to see what versions are available? It looks like docs offer images without any tags.

When I pulled gcr.io/google-appengine/golang I observed that it is go1.6.3, but go1.8 is now available. Is it because this image is designed for App Engine or is there some other reason?

@cybrcodr
Copy link
Contributor

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

@ahmetb
Copy link
Author

ahmetb commented Feb 28, 2017

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

@cybrcodr
Copy link
Contributor

cybrcodr commented Mar 1, 2017

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.

@ahmetb
Copy link
Author

ahmetb commented Mar 1, 2017

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?

@cybrcodr
Copy link
Contributor

cybrcodr commented Mar 1, 2017

  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

@ahmetb
Copy link
Author

ahmetb commented Mar 1, 2017

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.

@cybrcodr
Copy link
Contributor

cybrcodr commented Mar 1, 2017

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:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants