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.

  • docker-py getarchive destination folder
  • Docker network (namespaces): how to tag network packages?
  • how to create data volume from image for use in nginx container
  • Split Django project
  • Aborted connection to db; docker-compose ruby & mysql images - Got an error reading communication packets
  • How to bundle docker toolbox, dockerfile, docker-compose file inside a executable file?
  • [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.

  • How to run Apache Spark 2.1 Driver Program in docker container with bridge mode
  • Docker alpine image : ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 “No such file or directory”)
  • running docker remotely on openvz
  • dockercloud haproxy with more than one service on different ports
  • Grunt build inside Docker Container returned a Non-zero code: 6
  • How to make request to linked container from frontend js?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.