[dpdk-dev] Running DPDK application with non-previlege mode

Thomas Monjalon thomas at monjalon.net
Wed Sep 1 19:52:19 CEST 2021


01/09/2021 18:09, Kamaraj P:
> Thanks Bruce.
> 
> BTW we are trying to run our application as docker container.
> We may need to pass the parameters(system capability) along with docker
> command line to mount the hugepages ?
> Like this : https://github.com/usnistgov/ndn-dpdk/blob/main/docs/Docker.md
> 
> Please share your thoughts.

The easiest is to run with --in-memory option.

If you really want the hugetlb files (for multi-process),
use such docker option:
--mount type=bind,src=/dev/hugepages,dst=/dev/hugepages





More information about the dev mailing list