From 4bff2437392ddc171f253774e3f434e6db1c7bb4 Mon Sep 17 00:00:00 2001 From: TheSt1tch Date: Thu, 14 Mar 2024 13:19:09 +0500 Subject: [PATCH] update --- docs/proxmox/nvidia-lxc.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) mode change 100644 => 100755 docs/proxmox/nvidia-lxc.md diff --git a/docs/proxmox/nvidia-lxc.md b/docs/proxmox/nvidia-lxc.md old mode 100644 new mode 100755 index c047cc2..149bcec --- a/docs/proxmox/nvidia-lxc.md +++ b/docs/proxmox/nvidia-lxc.md @@ -183,6 +183,8 @@ curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-contai apt update apt install nvidia-container-toolkit +nvidia-ctk runtime configure --runtime=docker + systemctl daemon-reload systemctl restart docker ``` @@ -225,11 +227,13 @@ services: profiles: - plex restart: unless-stopped - deploy: - resources: - reservations: - devices: - - capabilities: [gpu] + runtime: nvidia # закоментить, если образ plexinc/pms-docker + # Использование строк ниже, если образ plexinc/pms-docker + #deploy: + # resources: + # reservations: + # devices: + # - capabilities: [gpu] ports: - "32400:32400" - "32400:32400/udp"