-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Feature request description
Recently OCI added support for Linux Network Devices https://github.com/opencontainers/runtime-spec/blob/main/config-linux.md#network-devices , and crun implemented it in containers/crun#1750.
The design of the feature was done to have a similar UX with the existing feature for Linux devices, that podman
implements using the --device
flag.
The proposal is to add a new --netdevice
flag that leverages this new OCI feature.
The use cases for this new feature are on containerized application that consumes the interfaces directly, that is completely different of podman networks
, where the abstraction is a higher level.
A common use case are in GPU applications that consume RDMA devices, something like
podman run --devices nvidia.com/gpu=all --device=/dev/infiniband/uverbs0 --device=/dev/infiniband/rdma_cm --netdevice mlx5_0
Suggest potential solution
A clear and concise description of what you want to happen.
Have you considered any alternatives?
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.