nvidia-container-toolkit/cmd/nvidia-container-toolkit
Evan Lezar c77e86137e Add version output to CLIs
This change adds version output to the nvidia-continer-runtime,
nvidia-container-toolkit, and nvidia-ctk CLIs. The same version
is used in all cases and includes a version string and a git
revision if set.

The construction of the version string mirrors what is done in runc.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2022-05-13 07:31:11 +02:00
..
capabilities_test.go Add nvidia-container-config option to overide drivercapabilities 2021-11-17 16:53:08 +01:00
capabilities.go Add nvidia-container-config option to overide drivercapabilities 2021-11-17 16:53:08 +01:00
container_config_test.go Add nvidia-container-config option to overide drivercapabilities 2021-11-17 16:53:08 +01:00
container_config.go Use CUDA image abstraction for runtime hook 2022-05-05 13:43:13 +02:00
hook_config_test.go Add nvidia-container-config option to overide drivercapabilities 2021-11-17 16:53:08 +01:00
hook_config.go Raise error if hook invoked in experimental mode without force flag 2022-04-08 12:03:22 +02:00
hook_test.go Use CUDA image abstraction for runtime hook 2022-05-05 13:43:13 +02:00
main.go Add version output to CLIs 2022-05-13 07:31:11 +02:00