This github repo aims to help you build a docker image with colmap residing in.
Prerequites: make sure that docker and nvidia-docker2 are installed on your system. In addition, make sure that the nvidia driver installed on your system is compatible with cuda-8.0; otherwise you need to modify the base image in the Dockerfile (see this page for available nvidia images).
Workflow:
- run './build_colmap.sh';
this builds a docker image called 'kai46/colmap:latest' on your local machine. - run './run_colmap.sh';
this launches a container and leads you to an interactive bash; the script takes care of mapping host user id, and mounting host filesystem into the newly launched container; it is tailored to the phoenix cluster at Cornell, and by default, it mounts the '/phoenix' directory into the container; feel free to modify it for your own purposes. - enjoy!