You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Joel Snook <jr...@gmail.com> on 2015/08/11 02:51:05 UTC

Using Google Container Registry as docker registry

I'm reading the Google Container Registry (
https://cloud.google.com/container-registry/#pulling_from_the_registry)
instructions on how to do a docker pull on systems outside of the google
cloud platform and it says you issue the command "gcloud docker pull
gcr.io/your-project-id/example-image".

Is there a way mesos slaves can issue docker pulls against googles
container registry for slaves not on google cloud?

Thanks

Re: Using Google Container Registry as docker registry

Posted by Jason Giedymin <ja...@gmail.com>.
It can be done but will require that the gcloud utile be installed and accessible on all slaves. It is actually interesting how gcloud wraps the docker commands. I'm sure one could just record the rest calls being made and you could bash wrap something up.

-Jason

> On Aug 10, 2015, at 8:51 PM, Joel Snook <jr...@gmail.com> wrote:
> 
> I'm reading the Google Container Registry (https://cloud.google.com/container-registry/#pulling_from_the_registry) instructions on how to do a docker pull on systems outside of the google cloud platform and it says you issue the command "gcloud docker pull gcr.io/your-project-id/example-image".  
> 
> Is there a way mesos slaves can issue docker pulls against googles container registry for slaves not on google cloud?
> 
> Thanks