Skip to content

Comments

Add Support for CDI Devices in Container Creation#522

Open
bougou wants to merge 2 commits intoMirantis:masterfrom
bougou:master
Open

Add Support for CDI Devices in Container Creation#522
bougou wants to merge 2 commits intoMirantis:masterfrom
bougou:master

Conversation

@bougou
Copy link

@bougou bougou commented Nov 11, 2025

Background

The Kubernetes CRI (Container Runtime Interface) ContainerConfig API supports CDI (Container Device Interface) devices, and Docker Engine v25.0.0+ supports CDI devices (see Docker v25.0.0 release notes, and related PR). As an adapter between Docker and Kubelet, cri-dockerd was not passing CDI devices of the CRI ContainerConfig from Kubelet to Docker during container creation.

Changes

This PR adds support for CDI devices by:

This enables full CDI device support in cri-dockerd, allowing Kubernetes workloads to use CDI devices when running on Docker via cri-dockerd.

Copy link
Contributor

@athongsamai athongsamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

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.

2 participants