Chris Harris
Chris Harris

Reputation: 1329

Which Tensorflow Docker image to use?

I just noticed that there are two Tensorflow images in existence.

There's this one:

tensorflow/tensorflow on Docker Hub

and and then this one (two references):

gcr.io/tensorflow/tensorflow on GitHub

gcr.io/tensorflow/tensorflow on Tesorflow.com

Is there a relevant difference?

Upvotes: 0

Views: 1057

Answers (1)

Shanqing Cai
Shanqing Cai

Reputation: 3876

The release tags, e.g., latest, 1.0.0-gpu, are identical between gcr.io and Docker hub.

In other words, if you do

nvidia-docker pull gcr.io/tensorflow/tensorflow:1.0.0-gpu (from gcr.io)

and

nvidia-docker pull tensorflow/tensorflow:1.0.0-gpu (from Docker Hub)

you should get the same image.

However, TensorFlow pushes nightly images to only Docker Hub, see: https://hub.docker.com/r/tensorflow/tensorflow/tags/

So if you want to use the latest nightly build, omit the gcr.io part, e.g., docker pull tensorflow/tensorflow:nightly-py3

Upvotes: 2

Related Questions