From ae54be0cc736fb9817399f158a8e22928425d97d Mon Sep 17 00:00:00 2001 From: codewithdaniel1 <55808718+codewithdaniel1@users.noreply.github.com> Date: Sun, 2 Aug 2026 23:34:38 -0400 Subject: [PATCH 1/2] docs: clarify NVIDIA GPU access scope --- content/manuals/engine/containers/gpu.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/manuals/engine/containers/gpu.md b/content/manuals/engine/containers/gpu.md index 09d73d4d5683..7086f725b8bd 100644 --- a/content/manuals/engine/containers/gpu.md +++ b/content/manuals/engine/containers/gpu.md @@ -88,7 +88,9 @@ This exposes the GPUs at index `0` and `2` — the first and third GPUs listed i > [!NOTE] > -> NVIDIA GPUs can only be accessed by systems running a single engine. +> GPU access with the `--gpus` flag is documented here for standalone Docker +> Engine containers on a single host. This page doesn't cover GPU scheduling +> across multiple Docker Engine hosts or orchestrators. ### Set NVIDIA capabilities From c248951a8d8706042e43bf59decd84d1a65aa909 Mon Sep 17 00:00:00 2001 From: codewithdaniel1 <55808718+codewithdaniel1@users.noreply.github.com> Date: Tue, 4 Aug 2026 13:18:50 -0400 Subject: [PATCH 2/2] docs: clarify GPU access for swarm services --- content/manuals/engine/containers/gpu.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content/manuals/engine/containers/gpu.md b/content/manuals/engine/containers/gpu.md index 7086f725b8bd..b1c90c6b9735 100644 --- a/content/manuals/engine/containers/gpu.md +++ b/content/manuals/engine/containers/gpu.md @@ -88,9 +88,11 @@ This exposes the GPUs at index `0` and `2` — the first and third GPUs listed i > [!NOTE] > -> GPU access with the `--gpus` flag is documented here for standalone Docker -> Engine containers on a single host. This page doesn't cover GPU scheduling -> across multiple Docker Engine hosts or orchestrators. +> The `--gpus` flag provides GPU access to containers created with +> `docker run`. To make GPUs available to services in a swarm, advertise them +> as [node generic resources](/reference/cli/dockerd/#node-generic-resources) +> and request them with +> [`--generic-resource`](/reference/cli/docker/service/create/#generic-resources). ### Set NVIDIA capabilities