Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Docker build fails #14

Closed
VinceKumar opened this issue Jan 24, 2018 · 9 comments
Closed

Docker build fails #14

VinceKumar opened this issue Jan 24, 2018 · 9 comments

Comments

@VinceKumar
Copy link

I do not see an image named 'caffe2:cuda8-cudnn6-all-options' on docker hub and that seems to be the reason why the build is failing

@burningion
Copy link

I've added a pull request for this. It seems the Dockerfiles were broken in the caffe2 repo.

#15

@VinceKumar
Copy link
Author

Thank you! Testing it right now.

@ir413
Copy link
Contributor

ir413 commented Jan 24, 2018

Hi @VinceKumar and @burningion, please see the instructions for building the Caffe2 image provided in our INSTALL.md file:

cd /path/to/caffe2/docker/ubuntu-16.04-cuda8-cudnn6-all-options
# Use the latest Caffe2 master
sed -i -e 's/ --branch v0.8.1//g' Dockerfile
docker build -t caffe2:cuda8-cudnn6-all-options .

I believe the pull request @burningion added removes the --branch v0.8.1 from the Caffe2 dockerfile, as is done in the instructions above.

@burningion
Copy link

Hey @ir413, you're totally right!

Somehow we both managed to completely miss that. I expect there will be others in the future.

Would you be open to putting a README.md inside of the docker/ directory?

It could even just be a copy paste of the instructions from INSTALL.md above for replacing the (currently) broken Caffe2 Dockerfile.

I think this will save you from people re opening this issue in the future.

Either way, thanks!

@VinceKumar
Copy link
Author

I don't understand the building of the Caffe image part 😕. There is no provided dockerfile relating to Caffe in this repo or one on dockerhub.

@burningion
Copy link

@VinceKumar the related Dockerfile for Caffe2 is here:

https://github.com/caffe2/caffe2/tree/master/docker

That's the one the instructions are trying to get you to build, once you get rid of the --branch v0.8.1/ from the appropriate Dockerfile.

@pandamax
Copy link

Here is a Chinese Blog account for this issue in detail,which may help you.

@ir413
Copy link
Contributor

ir413 commented Jan 26, 2018

Hi all, we're working with the Caffe2 team on uploading up-to-date Caffe2 images to the docker hub, which should eliminate the need to build the Caffe2 dockerfiles locally and make the overall docker setup process smoother. Sorry for the inconvenience.

@VinceKumar: As @burningion said, we assume that you have the Caffe2 repo cloned locally. If it makes it clearer, you can replace

cd /path/to/caffe2/docker/ubuntu-16.04-cuda8-cudnn6-all-options

with

# CAFFE2=/path/to/caffe2
git clone https://github.com/caffe2/caffe2.git $CAFFE2
cd $CAFFE2/docker/ubuntu-16.04-cuda8-cudnn6-all-options

in the instructions I posted above.

@ir413 ir413 closed this as completed Jan 26, 2018
@008karan
Copy link

008karan commented Aug 4, 2018

@VinceKumar facing same issue of not able to find docker file in caffe2 image. how you solved it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants