mirror of
https://github.com/keylase/nvidia-patch.git
synced 2026-11-28 08:51:29 +00:00
docs(docs): update container usage documentation (#1127)
Explain that container patching is an alternative to host patching rather than an extra requirement
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user