Run dpdk in docker container

887 views
Skip to first unread message

zhun...@gmail.com

unread,
May 13, 2015, 9:50:38 PM5/13/15
to docke...@googlegroups.com

I want to run dpdk application on docker container, the docker use veth pair to connect container and host, but dpdk does not support veth pair. so i have to add the physical nic to docker container, right? If so, how to let multiple containers share one physical nic?

Justin Cormack

unread,
May 18, 2015, 5:00:29 PM5/18/15
to zhun...@gmail.com, docker-dev
You can use SR-IOV to create multiple virtual NICs.

Justin

Jason Anderson

unread,
Jun 24, 2015, 7:04:14 PM6/24/15
to docke...@googlegroups.com, zhun...@gmail.com
Yes, SR-IOV is one way to do it, and probably the best performance-wise.  You can also use pipework, which scripts the commands you need to virtualize the interface with a macvlan bridge.  I wrote a blog post on the topic:

Reply all
Reply to author
Forward
0 new messages