nvidia-container-toolkit/pkg
Evan Lezar 2a92d6acb7 Fix bug where docker swarm device selection is overriden by NVIDIA_VISIBLE_DEVICES
This change fixes a bug where the value of NVIDIA_VISIBLE_DEVICES would be used to
select devices even if the `swarm-resource` config option is specified.

Note that this does not change the value of NVIDIA_VISIBLE_DEVICES in the container.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2021-06-07 14:10:08 +02:00
..
capabilities.go Add the 'ngx' driver capability 2020-06-24 17:53:42 +00:00
container_config.go Fix bug where docker swarm device selection is overriden by NVIDIA_VISIBLE_DEVICES 2021-06-07 14:10:08 +02:00
container_test.go Fix bug where docker swarm device selection is overriden by NVIDIA_VISIBLE_DEVICES 2021-06-07 14:10:08 +02:00
hook_config.go Add utility function to get config name from struct 2021-01-22 16:08:45 +01:00
hook_test.go Use require package for tests 2021-06-07 13:31:41 +02:00
main.go Add support for mig-config and mig-monitor as privileged flags 2020-05-15 19:04:10 +00:00