Nextcloud AIO by YAML

HI,
I tried deploy Nextcloud AIO in TrueNAS Scale 25.10 with “Install via YAML”, it’s fonctional but GPU is not detected.
My conf :
name: nextcloud-aio
services:
nextcloud-aio-mastercontainer:
image: Package all-in-one · GitHub
init: true
restart: always
container_name: nextcloud-aio-mastercontainer
volumes:

  • nextcloud_aio_mastercontainer:/mnt/docker-aio-config
  • /var/run/docker.sock:/var/run/docker.sock:ro
    network_mode: bridge
    ports:
  • 8080:8080
    deploy:
    resources:
    reservations:
    devices:
  • capabilities:
  • gpu
    driver: nvidia
    count: 1
    environment:
    APACHE_PORT: 11000
    NEXTCLOUD_ENABLE_DRI_DEVICE: true
    NEXTCLOUD_ENABLE_NVIDIA_GPU: true
    NVIDIA_DRIVER_CAPABILITIES: all
    NVIDIA_VISIBLE_DEVICES: void

volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer

What’s your GPU? The driver that 25.10 uses depreciates a lot of old gpus. Anything older then a 16XX card doesn’t work anymore

It’s Nvidia T400 and after Nvidia A400

Last version YAML :

name: nextcloud-aio
services:
  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    network_mode: bridge
    ports:
      - 8080:8080
    deploy:
      resources:
        reservations:
          devices:
            - capabilities:
                - gpu
              driver: nvidia
              count: 1
    environment:
      APACHE_PORT: 11000
      NEXTCLOUD_ENABLE_DRI_DEVICE: true
      NEXTCLOUD_ENABLE_NVIDIA_GPU: true
      NVIDIA_DRIVER_CAPABILITIES: all
      NVIDIA_VISIBLE_DEVICES: void

volumes: 
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer 

OK the T400 is supported by the driver.
Did you tick the install nvidia driver in the settings for the apps system?
Did you check from shell with nvidia-smi if truenas sees your gpu?

truenas_admin@truenas[~]$ nvidia-smi
Thu Feb 12 15:26:59 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.172.08             Driver Version: 570.172.08     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| 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 T400                    Off |   00000000:17:00.0 Off |                  N/A |
| 38%   27C    P8            N/A  /   31W |       3MiB /   2048MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

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

And

truenas_admin@truenas[~]$ sudo docker exec --user www-data -it nextcloud-aio-nextcloud nvidia-smi
[sudo] password for truenas_admin:
exec /usr/bin/nvidia-smi: no such file or directory
truenas_admin@truenas[~]$ sudo docker exec --user www-data -it nextcloud-aio-mastercontainer nvidia-smi
exec /usr/bin/nvidia-smi: no such file or directory

you didn’t specify the nvidia runtime in your yaml (i added it).

name: nextcloud-aio
services:
  nextcloud-aio-mastercontainer:
    runtime: nvidia # <---- was missing
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    network_mode: bridge
    ports:
      - 8080:8080
    deploy:
      resources:
        reservations:
          devices:
            - capabilities:
                - gpu
              driver: nvidia
              count: 1
    environment:
      APACHE_PORT: 11000
      NEXTCLOUD_ENABLE_DRI_DEVICE: true
      NEXTCLOUD_ENABLE_NVIDIA_GPU: true
      NVIDIA_DRIVER_CAPABILITIES: all
      NVIDIA_VISIBLE_DEVICES: void

volumes: 
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer

And in this website but not functional How to Specify NVIDIA Runtime in docker-compose.yml for TensorFlow GPU Containers — codestudy.net

name: nextcloud-aio
services:
  nextcloud-aio-mastercontainer:
    runtime: nvidia
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    network_mode: bridge
    ports:
      - 8080:8080
    deploy:
      resources:
        reservations:
          devices:
            - capabilities:
                - gpu
              driver: nvidia
              count: 1
    environment:
      APACHE_PORT: 11000
      NEXTCLOUD_ENABLE_DRI_DEVICE: true
      NEXTCLOUD_ENABLE_NVIDIA_GPU: true
      NVIDIA_DRIVER_CAPABILITIES: all
      NVIDIA_VISIBLE_DEVICES=all

volumes: 
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer 

````truenas_admin@truenas[~]$ sudo nvidia-container-cli --load-kmods info
NVRM version:   570.172.08
CUDA version:   12.8

Device Index:   0
Device Minor:   0
Model:          NVIDIA T400
Brand:          QuadroRTX
GPU UUID:       GPU-5418fb24-4219-12b3-8d20-cbbfd6de0336
Bus Location:   00000000:17:00.0
Architecture:   7.5
truenas_admin@truenas[~]$ sudo docker exec --user www-data -it nextcloud-aio-nextcloud nvidia-smi
exec /usr/bin/nvidia-smi: no such file or directory
truenas_admin@truenas[~]$`

Hi, i think it’s ok

sudo docker exec --user www-data -it nextcloud-aio-memories nvidia-smi
Mon Feb 16 12:11:38 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.172.08             Driver Version: 570.172.08     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| 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 T400                    Off |   00000000:17:00.0 Off |                  N/A |
| 38%   33C    P8            N/A  /   31W |       3MiB /   2048MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

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

With this config:

name: nextcloud-aio
services:
  nextcloud-aio-mastercontainer:
    runtime: nvidia
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    network_mode: bridge
    ports:
      - 8080:8080
    deploy:
      resources:
        limits:
          cpus: '4'
          memory: 4096M
        reservations:
          devices:
            - capabilities:
                - gpu
              device_ids:
                - GPU-5418fb24-4219-12b3-8d20-cbbfd6de0336
              driver: nvidia
    environment:
      APACHE_PORT: 11000
      NEXTCLOUD_DATADIR: /mnt/DATA/UserDATA
      NEXTCLOUD_ENABLE_DRI_DEVICE: true
      NEXTCLOUD_ENABLE_NVIDIA_GPU: true
      NVIDIA_DRIVER_CAPABILITIES: all
      NVIDIA_VISIBLE_DEVICES: GPU-5418fb24-4219-12b3-8d20-cbbfd6de0336
    networks: {}
    group_add:
      - 44
      - 107
      - 568
volumes: 
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer
x-portals:
  - host: 0.0.0.0
    name: Web UI
    path: /
    port: 8080
    scheme: https