Skip to content

Conversation

@shenxianpeng
Copy link

@shenxianpeng shenxianpeng commented Feb 2, 2026

When following the NVIDIA Container Toolkit installation guide, the installation may fail with the following error:

 > [3/4] RUN curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg   && distribution=$(. /etc/os-release;echo $ID$VERSION_ID)   && echo "deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://nvidia.github.io/libnvidia-container/stable/deb/$(dpkg --print-architecture) /" |     tee /etc/apt/sources.list.d/nvidia-container-toolkit.list   && apt-get update:
0.145 curl: (77) error setting certificate file: /etc/ssl/certs/ca-certificates.crt
0.146 gpg: no valid OpenPGP data found.

This issue occurs when ca-certificates is not installed, causing HTTPS requests to fail.
Adding ca-certificates to the apt-get install prerequisites resolves the problem.

Signed-off-by: shenxianpeng <xianpeng.shen@gmail.com>
@a-mccarthy a-mccarthy requested a review from elezar February 2, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant