8000 GitHub - NachtZ/docker-dpdk: Containerized DPDK
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

NachtZ/docker-dpdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A DPDK dockerfile.

Usage:

$:docker build .
$:docker run -it --privileged -v /sys/bus/pci/drivers:/sys/bus/pci/drivers -v /sys/kernel/mm/hugepages:/sys/kernel/mm/hugepages -v /sys/devices/system/node:/sys/devices/system/node -v /dev:/dev YOUR_IMAGE_ID

Then you will enter the container. Notice that You need to config DPDK hugepages and DPDK ports in your host. For test the DPDK, you can run :

$:export RTE_SDK=/root/dpdk-16.04
$:export RTE_TARGET=x86_64-native-linuxapp-gcc
$:cd dpdk-16.04/example/helloworld
$:make
$:./build/helloworld

A detail guide written in Chinese

About

Containerized DPDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%
0