Edit: As of March 2019, although I have not tested it, I believe Docker now has the ability to do real network emulation.

---

Edit: As of May 2015, SocketPlane (see [website](http://socketplane.io/) and [repo](https://github.com/socketplane/socketplane)) has joined the Docker team and they're in the process of integrating their OVS solution into Docker core. It appears as if theirs will be the winner of the various Docker networking solutions.

---

So I've been using [Mininet](http://mininet.org) to run tests on my networking software. It seems to have hit its limits though as Mininet containers are essentially linux containers with only a networking stack. I'd like each container to have its own networking stack, file system AND set of processes - basically I'd like a container as close to a VM as possible. Which brings me to Docker, as I understand, Docker is opposite of Mininet, its containers have a file system and their own processes but not their own networking stack. I'm leaning towards Docker as it has a nice API for forking containers, using the disk space of only the diff. My question is, is it possible to create a set of linux containers (with Docker or similar) with the following container layout + network interface setup?

![enter image description here](https://i.stack.imgur.com/y5eTn.png)