Is it possible to deploy a docker hub publicly hosted image to Kubernetes Container Engine without uploading it to Containers Registery?

11/19/2015

Still new to Containers and Kubernetes here but I am dabbling with deploying a cluster on Google Containers Engine and was wondering if you can use a docker hub hosted image to deploy containers, so in my .yaml configuration file I'd say:

  ...
  image: hub.docker.com/r/my-team/my-image:latest
  ...

Is this possible? Or one has to download/build image locally and then upload it to Google Containers Registery?

Thanks so much

-- mkhatib
docker
dockerhub
google-container-registry
google-kubernetes-engine
kubernetes

1 Answer

11/19/2015

Yes, it is possible. The Replication Controller template or Pod spec image isn't special. If you specify image: redis you will get the latest tag of the official Docker Hub library Redis image, just as if you did docker pull redis.

-- Andy Shinn
Source: StackOverflow