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 postgres with initial data is not persisted over commits
  • Docker permissions development environment using a host mounted volume
  • How exactly does docker work? (Theory)
  • Linking container with docker-compose
  • How to start Splunk Forwarder within a script
  • Vagrant Rsync does not sync the folder between host and guest
  • [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.

  • Deploy-time commands inside Docker on Elastic Beanstalk
  • Can not connect nodes to docker swarm master (using zookeeper)
  • Rename a project by keeping containers
  • Consul DNS not available on docker bridge IP
  • How to mount same dir in containers to different path
  • Cannot connect to the Docker daemon. Is the docker daemon running on this host?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.