Caffe Docker Image Setup - DSE-capstone-sharknado/main GitHub Wiki

GitClone this Repo or simply download the docker file in this directory
https://github.com/BVLC/caffe/tree/master/docker/cpu

Assuming you have already installed docker run the following:
docker build -t caffe-cpu:latest

This will take a few minutes. When done, run the following to list all docker images: docker images

A repo should be available called caffe-cpu with the tag latest
this docker image can now be started interactively using:

docker run -u $(id -u):$(id -g) -v $(pwd):$(pwd) -w $(pwd) -it caffe-cpu:latest bash 

this starts the bash shell in the container and mounts your current working directory.

To test caffe enter the following:
caffe —version

This should return the current version of caffe: caffe version 1.0.0-rc3