Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use GPU support in docker container #1271

Unanswered
SimonBard asked this question in Q&A
Use GPU support in docker container #1271
Apr 8, 2025 * 1 comment
Return to top
Discussion options

SimonBard
Apr 8, 2025

What do I need to do to use the GPU in the recognize app?
My nextcloud is running in a docker container.

The drivers are installed correctly and they can be accessed from docker container in general. Just nextcloud does not want to activate the feature for gpu support:


$ docker run --gpus all nvidia/cuda:11.0.3-base-ubuntu20.04 nvidia-smi
Tue Apr 8 07:24:37 2025
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.256.02 Driver Version: 470.256.02 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:04:00.0 N/A | N/A |
| N/A 32C P8 N/A / N/A | 5MiB / 2002MiB | N/A Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+

Here are some interesting sources:
How to check if ndivida drivers are installed correctly at the host and if docker container can use them.
What do I need to do to enable GPU mode in the Recognize app?
Here is a docker container with nextcloud, recognize and all nvidia drivers
Topic on github on nextcloud AIO and gpu passtrough

You must be logged in to vote

Replies: 1 comment

Comment options

SimonBard
Apr 16, 2025
Author

Can I check somehow if driver etc are installed correctly?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant