# generic-amd64 Nvidia GPU container kernel-modules-header not found

**URL:** <https://forums.balena.io/t/generic-amd64-nvidia-gpu-container-kernel-modules-header-not-found/375097>\
**Category:** Product support\
**Tags:** docker, nvidia\
**Created:** [November 17, 2025, 9:12am UTC](https://forums.balena.io/t/generic-amd64-nvidia-gpu-container-kernel-modules-header-not-found/375097 "2025-11-17T09:12:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RyanPaesschesoone](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@RyanPaesschesoone](https://forums.balena.io/u/RyanPaesschesoone)\
**Post date:** [November 17, 2025, 11:08am UTC](https://forums.balena.io/t/generic-amd64-nvidia-gpu-container-kernel-modules-header-not-found/375097/2 "2025-11-17T11:08:46Z")

</div>

When trying to figure out the wrong endpoint, I stumbled on this post: ( [Path to generic x86-64 kernel headers - #13 by nilsdebruin](https://forums.balena.io/t/path-to-generic-x86-64-kernel-headers/250212/13) ). In this post I noticed that the filename changed. In the example on the github repo the file is called “kernel-modules-headers.tar.gz”. But for some reason the filename changed to “kernel\_modules\_headers.tar.gz". The dash (-) changed to underscore (\_).

If you have the same problem to find the kernel-modules-headers files change to this in the docker file:

```auto
# Download the kernel source then prepare kernel source to build a module.
RUN \
    curl -fsSL "https://files.balena-cloud.com/images/${BALENA_MACHINE_NAME}/${VERSION}/kernel_modules_headers.tar.gz" \
        | tar xz --strip-components=2 && \
    make -C build modules_prepare -j"$(nproc)"

```

---

_[View the full topic](https://forums.balena.io/t/generic-amd64-nvidia-gpu-container-kernel-modules-header-not-found/375097)._
