mirror of
https://github.com/containers/podman.git
synced 2025-05-20 08:36:23 +08:00

HPC Community asked for this support specifically for using GPUs within containers. Nvidia requires the correct shared library to to be present in the directory that matches the device mounted into the container. These libraries have random suffixes based on versions of the installed libraries on the host. podman run --mount type=glob:src=/usr/lib64/nvidia\*:ro=true. This helps quadlets be more portable for this use case. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>