thecanadianroot / opencv-cuda-docker

GNU General Public License v3.0
22 stars 8 forks source link

how #9

Open gzdnb opened 1 year ago

gzdnb commented 1 year ago

This may be stupid, but I want to ask how do I run it to my server to use it, do I need commands such as docker run .... or do I need to

thecanadianroot commented 1 year ago

There's no such thing as stupid questions!

You indeed need Docker, but also this: https://github.com/NVIDIA/nvidia-docker. Then, you'll be able to use --gpus device= parameter with your docker run ... command in order to 'share' your host's NVIDIA GPU within your container.