Skip to content

Fix #1182 by adding the missing ldconfig config pointing to /lib64 in plugin container image #1183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions deployments/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ LABEL release="N/A"
LABEL summary="NVIDIA device plugin for Kubernetes"
LABEL description="See summary"

# We need this ldconfig config file otherwise when the `nvidia-ctk hook update-ldcache` hook kicks in,
# it may override the glibc and other libraries shipped with this container with the ones
# come from mounted driver libraries
# ref: https://github.com/NVIDIA/k8s-device-plugin/issues/1182
RUN echo "/lib64" > /etc/ld.so.conf.d/lib64.conf
RUN mkdir /licenses && mv /NGC-DL-CONTAINER-LICENSE /licenses/NGC-DL-CONTAINER-LICENSE

COPY --from=build /artifacts/config-manager /usr/bin/config-manager
Expand Down