2019-10-22 21:36:22 +00:00
|
|
|
Name: nvidia-container-toolkit
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
|
|
|
Group: Development Tools
|
|
|
|
|
|
|
|
Vendor: NVIDIA CORPORATION
|
|
|
|
Packager: NVIDIA CORPORATION <cudatools@nvidia.com>
|
|
|
|
|
|
|
|
Summary: NVIDIA container runtime hook
|
|
|
|
URL: https://github.com/NVIDIA/nvidia-container-runtime
|
2020-06-09 03:03:19 +00:00
|
|
|
License: Apache-2.0
|
2019-10-22 21:36:22 +00:00
|
|
|
|
|
|
|
Source0: nvidia-container-toolkit
|
2021-09-06 11:51:39 +00:00
|
|
|
Source1: nvidia-container-runtime
|
2022-04-06 18:53:51 +00:00
|
|
|
Source2: nvidia-ctk
|
|
|
|
Source3: config.toml
|
|
|
|
Source4: oci-nvidia-hook
|
|
|
|
Source5: oci-nvidia-hook.json
|
|
|
|
Source6: LICENSE
|
2021-09-06 11:51:39 +00:00
|
|
|
|
2021-09-23 12:32:54 +00:00
|
|
|
Obsoletes: nvidia-container-runtime <= 3.5.0-1, nvidia-container-runtime-hook
|
2021-09-06 11:51:39 +00:00
|
|
|
Provides: nvidia-container-runtime
|
2019-10-22 21:36:22 +00:00
|
|
|
Provides: nvidia-container-runtime-hook
|
2021-09-23 19:34:09 +00:00
|
|
|
Requires: libnvidia-container-tools >= %{libnvidia_container_version}, libnvidia-container-tools < 2.0.0
|
2019-10-22 21:36:22 +00:00
|
|
|
|
2021-09-06 11:51:39 +00:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
Requires: libseccomp2
|
|
|
|
Requires: libapparmor1
|
|
|
|
%else
|
|
|
|
Requires: libseccomp
|
|
|
|
%endif
|
|
|
|
|
2019-10-22 21:36:22 +00:00
|
|
|
%description
|
|
|
|
Provides a OCI hook to enable GPU support in containers.
|
|
|
|
|
|
|
|
%prep
|
2022-04-06 18:53:51 +00:00
|
|
|
cp %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} .
|
2019-10-22 21:36:22 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
install -m 755 -t %{buildroot}%{_bindir} nvidia-container-toolkit
|
2021-09-06 11:51:39 +00:00
|
|
|
install -m 755 -t %{buildroot}%{_bindir} nvidia-container-runtime
|
2022-04-06 18:53:51 +00:00
|
|
|
install -m 755 -t %{buildroot}%{_bindir} nvidia-ctk
|
2019-10-22 21:36:22 +00:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}/etc/nvidia-container-runtime
|
|
|
|
install -m 644 -t %{buildroot}/etc/nvidia-container-runtime config.toml
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/usr/libexec/oci/hooks.d
|
|
|
|
install -m 755 -t %{buildroot}/usr/libexec/oci/hooks.d oci-nvidia-hook
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/usr/share/containers/oci/hooks.d
|
|
|
|
install -m 644 -t %{buildroot}/usr/share/containers/oci/hooks.d oci-nvidia-hook.json
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
ln -sf %{_bindir}/nvidia-container-toolkit %{_bindir}/nvidia-container-runtime-hook
|
|
|
|
|
|
|
|
%postun
|
|
|
|
rm -f %{_bindir}/nvidia-container-runtime-hook
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/nvidia-container-toolkit
|
2021-09-06 11:51:39 +00:00
|
|
|
%{_bindir}/nvidia-container-runtime
|
2022-04-06 18:53:51 +00:00
|
|
|
%{_bindir}/nvidia-ctk
|
2020-07-22 13:38:40 +00:00
|
|
|
%config /etc/nvidia-container-runtime/config.toml
|
2019-10-22 21:36:22 +00:00
|
|
|
/usr/libexec/oci/hooks.d/oci-nvidia-hook
|
|
|
|
/usr/share/containers/oci/hooks.d/oci-nvidia-hook.json
|
|
|
|
|
|
|
|
%changelog
|
2022-03-24 11:24:48 +00:00
|
|
|
* Thu Mar 24 2022 NVIDIA CORPORATION <cudatools@nvidia.com> 1.10.0-0.1.rc.1
|
2022-04-06 18:53:51 +00:00
|
|
|
- Include nvidia-ctk CLI in installed binaries
|
2022-03-24 11:45:03 +00:00
|
|
|
- Add experimental option to NVIDIA Container Runtime
|
2022-03-24 11:24:48 +00:00
|
|
|
|
2022-03-18 04:19:58 +00:00
|
|
|
* Fri Mar 18 2022 NVIDIA CORPORATION <cudatools@nvidia.com> 1.9.0-1
|
2022-02-25 19:58:19 +00:00
|
|
|
- [libnvidia-container] Add additional check for Tegra in /sys/.../family file in CLI
|
|
|
|
- [libnvidia-container] Update jetpack-specific CLI option to only load Base CSV files by default
|
|
|
|
- [libnvidia-container] Fix bug (from 1.8.0) when mounting GSP firmware into containers without /lib to /usr/lib symlinks
|
|
|
|
- [libnvidia-container] Update nvml.h to CUDA 11.6.1 nvML_DEV 11.6.55
|
|
|
|
- [libnvidia-container] Update switch statement to include new brands from latest nvml.h
|
|
|
|
- [libnvidia-container] Process all --require flags on Jetson platforms
|
2022-02-18 14:03:57 +00:00
|
|
|
- [libnvidia-container] Fix long-standing issue with running ldconfig on Debian systems
|
|
|
|
|
2022-02-14 09:12:45 +00:00
|
|
|
* Mon Feb 14 2022 NVIDIA CORPORATION <cudatools@nvidia.com> 1.8.1-1
|
|
|
|
- [libnvidia-container] Fix bug in determining cgroup root when running in nested containers
|
2022-02-09 13:01:45 +00:00
|
|
|
- [libnvidia-container] Fix permission issue when determining cgroup version
|
|
|
|
|
2022-02-09 13:00:41 +00:00
|
|
|
* Fri Feb 04 2022 NVIDIA CORPORATION <cudatools@nvidia.com> 1.8.0-1
|
2022-02-04 05:09:38 +00:00
|
|
|
- Promote 1.8.0-0.1.rc.2 to 1.8.0-1
|
2022-02-02 12:43:19 +00:00
|
|
|
|
2022-01-20 12:40:17 +00:00
|
|
|
* Thu Jan 20 2022 NVIDIA CORPORATION <cudatools@nvidia.com> 1.8.0-0.1.rc.2
|
2022-01-14 13:06:46 +00:00
|
|
|
- Remove support for building amazonlinux1 packages
|
2022-01-20 12:40:17 +00:00
|
|
|
|
2021-12-07 17:02:11 +00:00
|
|
|
* Wed Dec 08 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.8.0-0.1.rc.1
|
|
|
|
- [libnvidia-container] Add support for cgroupv2
|
|
|
|
- Release toolkit-container images from nvidia-container-toolkit repository
|
2021-12-03 14:07:40 +00:00
|
|
|
|
2021-11-30 13:14:39 +00:00
|
|
|
* Tue Nov 30 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.7.0-1
|
|
|
|
- Promote 1.7.0~rc.1-1 to 1.7.0-1
|
|
|
|
- Bump Golang version to 1.16.4
|
2021-11-29 09:13:27 +00:00
|
|
|
|
2021-11-25 10:37:37 +00:00
|
|
|
* Thu Nov 25 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.7.0-0.1.rc.1
|
|
|
|
- Specify containerd runtime type as string in config tools to remove dependency on containerd package
|
|
|
|
- Add supported-driver-capabilities config option to allow for a subset of all driver capabilities to be specified
|
2021-11-19 14:45:36 +00:00
|
|
|
|
|
|
|
* Wed Nov 17 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.6.0-1
|
2021-11-17 09:07:36 +00:00
|
|
|
- Promote 1.6.0-0.1.rc.3 to 1.6.0-1
|
|
|
|
- Fix unnecessary logging to stderr instead of configured nvidia-container-runtime log file
|
|
|
|
|
2021-11-08 10:22:17 +00:00
|
|
|
* Mon Nov 15 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.6.0-0.1.rc.3
|
2021-10-26 11:17:50 +00:00
|
|
|
|
2021-11-09 19:19:56 +00:00
|
|
|
- Add supported-driver-capabilities config option to the nvidia-container-toolkit
|
2021-11-08 10:22:17 +00:00
|
|
|
- Move OCI and command line checks for runtime to internal oci package
|
|
|
|
|
|
|
|
* Fri Nov 05 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.6.0-0.1.rc.2
|
2021-10-26 11:17:50 +00:00
|
|
|
|
2021-10-26 11:19:07 +00:00
|
|
|
- Use relative path to OCI specification file (config.json) if bundle path is not specified as an argument to the nvidia-container-runtime
|
|
|
|
|
2021-09-22 11:42:19 +00:00
|
|
|
* Mon Sep 06 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.6.0-0.1.rc.1
|
2021-09-06 10:23:18 +00:00
|
|
|
|
2021-10-18 10:03:22 +00:00
|
|
|
- Add AARCH64 package for Amazon Linux 2
|
2021-09-06 11:51:39 +00:00
|
|
|
- Include nvidia-container-runtime into nvidia-container-toolkit package
|
|
|
|
|
2021-08-13 11:45:32 +00:00
|
|
|
* Mon Jun 14 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.5.1-1
|
2021-08-18 13:17:37 +00:00
|
|
|
|
2021-06-14 12:40:51 +00:00
|
|
|
- Fix bug where Docker Swarm device selection is ignored if NVIDIA_VISIBLE_DEVICES is also set
|
|
|
|
- Improve unit testing by using require package and adding coverage reports
|
|
|
|
- Remove unneeded go dependencies by running go mod tidy
|
|
|
|
- Move contents of pkg directory to cmd for CLI tools
|
|
|
|
- Ensure make binary target explicitly sets GOOS
|
|
|
|
|
2021-04-29 10:16:44 +00:00
|
|
|
* Thu Apr 29 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.5.0-1
|
|
|
|
- Add dependence on libnvidia-container-tools >= 1.4.0
|
|
|
|
- Add golang check targets to Makefile
|
|
|
|
- Add Jenkinsfile definition for build targets
|
|
|
|
- Move docker.mk to docker folder
|
|
|
|
|
2021-02-05 10:26:10 +00:00
|
|
|
* Fri Feb 05 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.4.2-1
|
|
|
|
- Add dependence on libnvidia-container-tools >= 1.3.3
|
|
|
|
|
2021-01-25 10:24:09 +00:00
|
|
|
* Mon Jan 25 2021 NVIDIA CORPORATION <cudatools@nvidia.com> 1.4.1-1
|
|
|
|
- Ignore NVIDIA_VISIBLE_DEVICES for containers with insufficent privileges
|
|
|
|
- Add dependence on libnvidia-container-tools >= 1.3.2
|
|
|
|
|
2020-12-11 17:31:25 +00:00
|
|
|
* Fri Dec 11 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.4.0-1
|
|
|
|
- Add 'compute' capability to list of defaults
|
|
|
|
- Add dependence on libnvidia-container-tools >= 1.3.1
|
|
|
|
|
2020-09-16 11:45:31 +00:00
|
|
|
* Wed Sep 16 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.3.0-1
|
|
|
|
- Promote 1.3.0-0.1.rc.2 to 1.3.0-1
|
|
|
|
- Add dependence on libnvidia-container-tools >= 1.3.0
|
|
|
|
|
2020-08-10 13:08:09 +00:00
|
|
|
* Mon Aug 10 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.3.0-0.1.rc.2
|
|
|
|
- 2c180947 Add more tests for new semantics with device list from volume mounts
|
|
|
|
- 7c003857 Refactor accepting device lists from volume mounts as a boolean
|
|
|
|
|
|
|
|
* Fri Jul 24 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.3.0-0.1.rc.1
|
2020-07-24 20:08:50 +00:00
|
|
|
- b50d86c1 Update build system to accept a TAG variable for things like rc.x
|
|
|
|
- fe65573b Add common CI tests for things like golint, gofmt, unit tests, etc.
|
|
|
|
- da6fbb34 Revert "Add ability to merge envars of the form NVIDIA_VISIBLE_DEVICES_*"
|
|
|
|
- a7fb3330 Flip build-all targets to run automatically on merge requests
|
|
|
|
- 8b248b66 Rename github.com/NVIDIA/container-toolkit to nvidia-container-toolkit
|
|
|
|
- da36874e Add new config options to pull device list from mounted files instead of ENVVAR
|
|
|
|
|
2020-07-22 13:41:33 +00:00
|
|
|
* Wed Jul 22 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.2.1-1
|
|
|
|
- 4e6e0ed4 Add 'ngx' to list of *all* driver capabilities
|
|
|
|
- 2f4af743 List config.toml as a config file in the RPM SPEC
|
|
|
|
|
2020-07-08 16:13:48 +00:00
|
|
|
* Wed Jul 08 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.2.0-1
|
|
|
|
- 8e0aab46 Fix repo listed in changelog for debian distributions
|
|
|
|
- 320bb6e4 Update dependence on libnvidia-container to 1.2.0
|
|
|
|
- 6cfc8097 Update package license to match source license
|
|
|
|
- e7dc3cbb Fix debian copyright file
|
|
|
|
- d3aee3e0 Add the 'ngx' driver capability
|
|
|
|
|
2020-06-03 20:38:43 +00:00
|
|
|
* Wed Jun 03 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.1.2-1
|
|
|
|
- c32237f3 Add support for parsing Linux Capabilities for older OCI specs
|
|
|
|
|
2020-05-19 14:06:24 +00:00
|
|
|
* Tue May 19 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.1.1-1
|
|
|
|
- d202aded Update dependence to libnvidia-container 1.1.1
|
|
|
|
|
2020-01-07 14:14:55 +00:00
|
|
|
* Fri May 15 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.1.0-1
|
2020-05-18 11:21:14 +00:00
|
|
|
- 4e4de762 Update build system to support multi-arch builds
|
|
|
|
- fcc1d116 Add support for MIG (Multi-Instance GPUs)
|
2021-06-14 12:40:51 +00:00
|
|
|
- d4ff0416 Add ability to merge envars of the form NVIDIA_VISIBLE_DEVICES_*
|
2020-05-18 11:21:14 +00:00
|
|
|
- 60f165ad Add no-pivot option to toolkit
|