Hello,
When I use docker to create a docker container, what I usually get is a port exposed to the host. and using vagrant you use '
ports' to map this information.
Say you create a docker container, with port 80 mapped to the host in 80..
http://host:80 will display the web server from the docker.
Why you require eth0/eth1/ethN ?
Long explanation/thinking below:......
the docker container will have access to internet, etc by the host, but you only get ports mapped between host-container or container-container.
NOTE: since docker 1.0 there is a new option to map docker container to a nic in the host, but I haven't used yet.
I haven't seen that docker use eth0 eth1 ethx as it's a container and not a full OS.
as part of docker 1.0 a new option came out that allow you map a docker conainer to the host nic.
outside vagrant, manually have you managed to create eth0 eth1 ethn inside a docker container in the way you want?