How to use Mellanox port(Cx-7 card or BF3 Card) inside docker container from host machine?

I am looking for a way to use mellanox ports from docker container.

Hello,

For using Mellanox ports on a container, you can follow the links and guides in this page: Docker Using SR-IOV - NVIDIA Docs

If you still encounter any issues or have any questions, please open a case by sending an E-Mail to enterprisesupport@nvidia.com and it will be handled according to entitlement.

Best Regards,
Jonathan.