Docker Community Forums

Share and learn in the Docker community.

Is it possible two run a container with multiple ethernet interface?

docker

(Rogeryu27) #1

I’m doing some research on NFV in container and it is important that if docker container can create a new virtual ethernet interface easily. However, i didn’t found a way to add one before running the container. Is there a way I miss?


(Bryce Ryan) #2

Yes, this is entirely possible when using swarm mode, via overlay networks. We’ve got a solution/article on this topic; please take a look; I think it may provide some ideas to get you started. Multiple Docker Networks

There is also some documentation available around containers and networking: Container Networking that may be helpful.