This repository helps creating a docker container that runs opencv
The installation of Docker is easy in Ubuntu 14.04 or latter. Just issue the command:
sudo apt-get install -y docker.io
git clone https://github.com/h3dema/opencv_docker.git
cd opencv_docker
bash run.sh