Docker container with CUDA 9.0, OpenGL, and OpenCV 3.
- Install Docker-CE as described for your distribution on the Docker docs.
- Follow the Optional Linux post-installation steps to run Docker without
sudo
.
- Follow the Optional Linux post-installation steps to run Docker without
Build with:
./build.sh
That's it!
The build will take about 40 minutes on a reasonably fast PC (quad core or faster i7 or Ryzen).
You can also pull the docker image from Docker Hub:
docker pull tanmaniac/opencv3-cudagl
- Install nvidia-docker2 as described in the
nvidia-docker
docs. The container provided in this repo needs thenvidia
Docker runtime to run.
Run with:
./run.sh
and you'll be dropped into an interactive session.