[SWDEV-519170] Docker container config documentation (#178)

* add docker container guide

* add example

* update index, README, and _toc
This commit is contained in:
Park, Peter
2025-03-14 10:58:46 -04:00
committed by GitHub
parent 36a965b5c7
commit 547ed49efb
5 changed files with 57 additions and 0 deletions
+15
View File
@@ -139,6 +139,21 @@ Check out
[Getting to Know Your GPU: A Deep Dive into AMD SMI -- ROCm Blogs](https://rocm.blogs.amd.com/software-tools-optimization/amd-smi-overview/README.html)
for a rundown.
### Docker container configuration
To ensure proper functionality of AMD SMI within a Docker container, the
following configuration options must be included. These settings are
particularly important for managing memory partitions, as partitioning depends
on loading and unloading kernel drivers.
- `--cap-add=SYS_MODULE`
- `-v /lib/modules:/lib/modules`
See [Using AMD SMI in a Docker
container](https://rocm.docs.amd.com/projects/amdsmi/en/latest/how-to/setup-docker-container.html)
for more information.
## Building AMD SMI
This section describes the prerequisites and steps to build AMD SMI from source.