The NVIDIA GPU driver container allows the provisioning of the NVIDIA driver through the use of containers.
Driver Container documentation
platform=ubuntu22.04 # where ${platform} is one of the supported platforms (e.g. ubuntu22.04)
docker build -t mydriver --build-arg DRIVER_VERSION="510.85.02" --build-arg CUDA_VERSION=11.7.1 --build-arg TARGETARCH=amd64 ${platform}
Apache License 2.0 License For Customer Use of NVIDIA Software