k8s-device-plugin icon indicating copy to clipboard operation
k8s-device-plugin copied to clipboard

Fail to build image for k8s-device-plugin

Open shivam99aa opened this issue 1 year ago • 2 comments

1. Issue or feature description

Not able to build k8s-device-plugin image from deployments/container/Dockerfile.ubuntu.

2. Steps to reproduce the issue

Run command

docker build -f deployments/container/Dockerfile.ubuntu https://github.com/NVIDIA/k8s-device-plugin.git#v0.14.0 It is failing with below error

stderr: manifest for nvidia/cuda:11.6.1-base-ubuntu20.04 not found: manifest unknown: manifest unknown This is happening because the image is not present on dockerhub.

I think version number in this location needs to be updated to 11.6.2 as that tag is present.

shivam99aa avatar Jul 05 '23 05:07 shivam99aa

Thanks for reporting this @shivam99aa. This issue is that the Dockerfile refers to an older image.

We will have a look at this. For now, please use the following command:

docker build --build-arg CUDA_VERSION=12.1.0 -f deployments/container/Dockerfile.ubuntu https://github.com/NVIDIA/k8s-device-plugin.git#v0.14.0

elezar avatar Jul 06 '23 11:07 elezar

This issue has become stale and will be closed automatically within 30 days if no activity is recorded.

github-actions[bot] avatar Feb 27 '24 04:02 github-actions[bot]