Is there a way to simulate docker to have physical interfaces?
I am using
docker 1.12 on my hypervisor to bring up an application in a container. The application requires that the system have physical interfaces attached to it, in my case, attached to docker. Docker interfaces are virtual by default.
[root@sys /]# ls -lrt /sys/class/net/ total 0 lrwxrwxrwx 1 root root 0 Aug 10 17:16 port6 -> ../../devices/virtual/net/port6
At present I have interfaces of the hypervisor added to the container using
pipework --direct-phys flag as explained here using SR-IOV.
[root@sys /]# ls -lrt /sys/class/net/ total 0 lrwxrwxrwx 1 root root 0 Aug 10 17:16 port2 -> ../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/0000:02:04.0/0000:06:10.1/net/port2
The problem with this is that I can only get a maximum of 64 virtual functions for a single physical interface in the hypervisor.
Is there a different way to get the same behavior without the bottleneck placed on the number of physical interfaces and the type of physical interfaces? I have four Intel 82576 cards for now which support up to 8 virtual functions. Even with a newer Ethernet card like 82599 I can only get 64 virtual functions per interface.