From 97341d3e600035a3eb54bbadb0aa51af47c1c0e0 Mon Sep 17 00:00:00 2001 From: ram/haidar <49301219+ramhaidar@users.noreply.github.com> Date: Sat, 14 Nov 2026 16:55:41 +0700 Subject: [PATCH] docs(docs): update container usage documentation (#1127) Explain that container patching is an alternative to host patching rather than an extra requirement --- README.md | 4 +++- tools/readme-autogen/templates/linux_readme_master.tmpl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d88c24..1ac177a 100644 --- a/README.md +++ b/README.md @@ -377,7 +377,9 @@ bash ./patch.sh -r ## Docker support -It is possible to use this patch with nvidia-docker containers, even if host machine hasn't patched drivers. See `Dockerfile` for example. +If you are unable to install this patch on a host machine, it is possible to use this patch within nvidia-docker containers instead. See `Dockerfile` for example. + +This is an **alternative** to patching the host, not an extra requirement on top of it: the container patches the driver libraries it has mounted, so the host driver does not need to be patched for the patch to take effect inside the container. Essentially all you need to do during build is: diff --git a/tools/readme-autogen/templates/linux_readme_master.tmpl b/tools/readme-autogen/templates/linux_readme_master.tmpl index 7aff1a5..5a1b988 100644 --- a/tools/readme-autogen/templates/linux_readme_master.tmpl +++ b/tools/readme-autogen/templates/linux_readme_master.tmpl @@ -121,7 +121,9 @@ bash ./patch.sh -r ## Docker support -It is possible to use this patch with nvidia-docker containers, even if host machine hasn't patched drivers. See `Dockerfile` for example. +If you are unable to install this patch on a host machine, it is possible to use this patch within nvidia-docker containers instead. See `Dockerfile` for example. + +This is an **alternative** to patching the host, not an extra requirement on top of it: the container patches the driver libraries it has mounted, so the host driver does not need to be patched for the patch to take effect inside the container. Essentially all you need to do during build is: