Please read following git wiki

https://github.com/kashif-nawaz/Extending-SRIOV-VFs-to-Containers