podman/pkg/specgenutil
Daniel J Walsh 0fefcf8a4f
Add glob support to podman run/create --mount
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>
2023-07-27 06:32:54 -04:00
..
createparse.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ports.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ports_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
specgen.go Add support for mounts listed in containers.conf 2023-07-26 17:13:41 -04:00
specgenutil_test.go The `--ulimit` option accepts the name with an `RLIMIT_` prefix both upper and lower case 2023-04-06 18:20:28 +04:00
util.go podman: add support for splitting imagestore 2023-06-17 08:51:08 +05:30
util_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
volumes.go Add glob support to podman run/create --mount 2023-07-27 06:32:54 -04:00
volumes_test.go Run codespell on code 2022-11-04 10:57:41 -04:00