{"id":48544656,"url":"https://github.com/coreos/fedora-bootc-nvidia","last_synced_at":"2026-04-08T06:02:43.468Z","repository":{"id":317515740,"uuid":"1067711172","full_name":"coreos/fedora-bootc-nvidia","owner":"coreos","description":"experiment to enable nvidia CUDA on coreos","archived":false,"fork":false,"pushed_at":"2026-04-03T05:49:00.000Z","size":59,"stargazers_count":4,"open_issues_count":3,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T13:32:42.723Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coreos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-01T09:16:38.000Z","updated_at":"2026-04-03T05:49:04.000Z","dependencies_parsed_at":"2025-10-01T12:30:47.030Z","dependency_job_id":"ea5ad77e-b2de-46be-91b4-67660e4fdcdd","html_url":"https://github.com/coreos/fedora-bootc-nvidia","commit_stats":null,"previous_names":["jbtrystram/coreos-nvidia"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coreos/fedora-bootc-nvidia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreos%2Ffedora-bootc-nvidia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreos%2Ffedora-bootc-nvidia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreos%2Ffedora-bootc-nvidia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreos%2Ffedora-bootc-nvidia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coreos","download_url":"https://codeload.github.com/coreos/fedora-bootc-nvidia/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreos%2Ffedora-bootc-nvidia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31542384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-08T06:02:43.381Z","updated_at":"2026-04-08T06:02:43.462Z","avatar_url":"https://github.com/coreos.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fedora bootc with NVIDIA drivers and tools\n\n**STATUS:** **Work In Progress** — This image is in active development and is not yet ready for production use.\n\nWe are deriving Fedora bootc images to integrate NVIDIA components (kernel modules, drivers, etc).\nThis specialized image is hosted on Quay.io at [quay.io/coreos-devel/fedora-bootc-nvidia](https://quay.io/repository/coreos-devel/fedora-bootc-nvidia?tab=tags).\n\nThe build process utilizes official NVIDIA DKMS packages from [NVIDIA repo](https://developer.download.nvidia.com/compute/cuda/repos/) to\ncompile the open kernel modules, a method usually reserved for the client system.\nDespite requiring a tweak to target the immutable image's specific kernel (rather than the build host's), using DKMS simplifies integration significantly.\nHowever, this introduces the downside of breaking Secure Boot as the kmods are not signed by the Fedora's key but a self-signed one, which is ok for a POC. For permanent deployment, we'd need to maintain a custom signing key, which adds the extra step of enrolling it with MOK to regain secure booting functionality.\n\n## Building locally\n```bash\nsource build-args.conf\npodman build --build-arg-file build-args.conf -f Containerfile.builder -t $BUILDER_IMAGE\npodman build --build-arg-file build-args.conf -f Containerfile -t localhost/fedora-bootc-nvidia\n```\n\n## To test it\n```bash\n[core@localhost ~]$ lsmod | grep nvidia\nnvidia_drm            155648  0\nnvidia_modeset       2248704  1 nvidia_drm\nnvidia              15917056  1 nvidia_modeset\ndrm_ttm_helper         16384  1 nvidia_drm\nvideo                  81920  1 nvidia_modeset\n\n[core@localhost ~]$ lspci -nnk | grep -A2 NVIDIA\n00:03.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3080] [10de:2206] (rev a1)\n\tSubsystem: NVIDIA Corporation GA102 [GeForce RTX 3080] [10de:1467]\n\tKernel driver in use: nvidia\n\tKernel modules: nouveau, nvidia_drm, nvidia\n\n# Checking the licenses\n[core@localhost ~]$ modinfo -l nvidia nvidia_drm nvidia_modeset\nDual MIT/GPL\nDual MIT/GPL\nDual MIT/GPL\n```\n\n## Serve a LLM with RamaLama\n\nBoot an existing Image Mode system, for example Fedora CoreOS:\nCreate a Containerfile to layer the the NVIDIA CUDA driver and libs:\n```\ncat \u003e Containerfile \u003c\u003c 'EOF'\nARG STREAM=43\nARG VERSION=595.58.03\n\nFROM quay.io/coreos-devel/fedora-bootc-nvidia:${STREAM}-${VERSION}\n\nRUN \u003c\u003cEORUN\nset -xeuo pipefail\nsource /usr/lib/os-release\ncurl https://developer.download.nvidia.com/compute/cuda/repos/${ID}${VERSION_ID}/$(arch)/cuda-${ID}${VERSION_ID}.repo \\\n     -o /etc/yum.repos.d/cuda.repo\ndnf install -y \\\n    nvidia-driver-cuda\ndnf clean all\nsystemctl enable nvidia-persistenced nvidia-cdi-refresh\nEORUN\n\nRUN bootc container lint\n\nEOF\n```\nBuild that container locally\n\n```\nsudo podman build -t fedora-bootc-nvidia .\n```\n\nThen switch the system to that build\n\n```\nsudo bootc switch --transport containers-storage localhost/fedora-bootc-nvidia --apply\n```\n\nCheck if everything is ok:\n```\nnvidia-smi\n```\n\nAnd finally, serve the requested LLM with RamaLama\n```\nramalama --engine podman serve -p 8081 --oci-runtime crun --image quay.io/ramalama/cuda:0.12.4 mistral:7b-v3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoreos%2Ffedora-bootc-nvidia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoreos%2Ffedora-bootc-nvidia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoreos%2Ffedora-bootc-nvidia/lists"}