container-device-interface
github.com · Package · Active
Rust implementation of the CDI spec for injecting devices into containers
- Developer tools
- Package
- Rust
- Day-7 check
- Day-30 check
- Stars
- 11
- Forks
- 14
- Open issues
- 0
- Last commit
- Releases
- 3
- Found
- 13 months ago
GitHub figures as of . They are context, not a ranking.
container-device-interface is a Rust crate that implements the Container Device Interface specification, at parity with CDI v1.1.0. It discovers vendor JSON or YAML specs and injects requested devices into an OCI runtime spec, with strict parsing and optional schema validation.
Repository description on GitHub: “Rust implementation of the Container Device Interface: https://github.com/cncf-tags/container-device-interface”
What it does
- Discovers CDI specs from standard spec directories
- Injects devices into an OCI runtime spec
- Strict spec parsing and structural checks
- Optional JSON-schema validation
Good for
- Inject GPU devices into a container's OCI spec from Rust
- Validate vendor CDI spec files in a Rust tool
Suits: Rust developers building container runtimes or device tooling.
Worth knowing: JSON-schema validation is opt-in and is not applied by default.
What you can try
Add the crate with cargo add container-device-interface, then use it from Rust code.
Install
cargo install container-device-interfaceConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw container-device-interface on , when it was first published on crates.io. The oldest published release on GitHub is v0.1.1, dated . Its first tagged release landed the same day it was found. 3 releases have been published in total; the latest is v1.1.1 ().
Day-7 and day-30 updates
Day 7 1 release shipped
- 1 release in the first 7 days: v0.1.1 (9 Oct 2025)
Checked , later than day 7 because tracking began after.
Day 30 1 release shipped
- 1 release in the first 30 days: v0.1.1 (9 Oct 2025)
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: cncf-tags/container-device-interface-rs
- Found: it was first published on crates.io. crates.io
- Release v0.1.1
- Release v0.1.2
- Release v1.1.1
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was container-device-interface released?
- Its first tagged release on GitHub is dated 9 Oct 2025. Kip found it on crates.io on 9 Oct 2025.
- Is container-device-interface open source?
- Its source is public on GitHub at cncf-tags/container-device-interface-rs under the Apache-2.0 licence.
- What does container-device-interface run on?
- Library.
- Is container-device-interface free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is container-device-interface still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| crates.io | listing official API record | |
| GitHub repository | cncf-tags/container-device-interface-rs REST API record | |
| GitHub Releases | release list REST API record |
Stable ID crates-container-device-interface. Summary written by KipFound’s editor.
Share
Similar tools
- containerActive
Command-line tool that runs Linux containers as lightweight VMs on Apple silicon Macs
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.