Thank you for posting your question on the Mellanox Community.
Based on the information provided, please following Section 5.6 of the MLNX_OFED User Manual (http://www.mellanox.com/related-docs/prod_software/Mellanox_OFED_Linux_User_Manual_v4_4.pdf), on how-to configure Docker in SR-IOV or Passthrough with our adapters.
If you run into any issue during configuring or afterwards, please open a Mellanox Support case by sending an email to email@example.com
Thanks and regards,
~Mellanox Technical Support