Containers with the TensorFlow library for numerical computation and machine learning.
127
This repository contains two Dockerfile versions for TensorFlow.
The tensorflow-cpu version builds an image that contains the TensorFlow CPU version. It is based on the frankhinek/datascience container.
The tensorflow-gpu version builds an image that contains TensorFlow with support for NVIDIA GPUs enabled by the CUDA tool kit and accelerated by cuDNN. It is based on the nvidia/cuda container.
Both images include Miniconda, Python 3.5, a collection of common data science packages, and the C++ based protobuf library that is 10x-50x faster than the Python-only implementation.
Currently I maintain two TensorFlow Docker container images:
frankhinek/tensorflow:cpu - TensorFlow 1.4.1 and Python 3.5frankhinek/tensorflow:gpu - TensorFlow 1.4.1, Python 3.5, CUDA 9.0, and cuDNN 7These containers are published to Docker Hub.
Run the container using
$ docker run -it frankhinek/tensorflow:cpu
Install nvidia-docker and run
$ nvidia-docker run -it frankhinek/tensorflow:gpu
Just pick the Dockerfile associated with this container, and run:
$ docker build --pull -t $USER/tensorflow:suffix -f Dockerfile .
Content type
Image
Digest
Size
449.3 MB
Last updated
over 8 years ago
docker pull frankhinek/tensorflow:cpu