Issue and Question - DPDK Container Networking

Hello! Posting here with an ask for support or redirection to resources for understanding container networking, specifically how to set up a topology where I can test/emulate DPDK applications!

I want to create a container image configured with DPDK (for a containernet topology). I’m very new to container networking!

  1. Quick clarification: for setting up the host machine: Do I need to install DPDK on the host machine, or is installing it in the containers sufficient?
  2. I’m now looking for an image I can easily load into Containernet. I tried to build on this:

When I ran the script, I get this error:

ERROR: failed to solve: process "/bin/sh -c apt-get install build-essential git python pciutils vim -y" did not complete successfully: exit code: 100
Unable to find image 'ubuntu-dpdk:latest' locally
docker: Error response from daemon: pull access denied for ubuntu-dpdk, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

When I downloaded the image directly from docker (docker pull shanakaprageeth/ubuntu-dpdk), no commands on the container worked (ifconfig, apt-get, etc.). There was no error message.

I think that perhaps I fundamentally don’t understand how container images work and how to customize them, especially since I’m trying to write Containernet scripts (vs. actually ssh-ing into containers). I know I’ll need a container that supports DPDK and has it downloaded, and I know it will also need to meet the containernet requirements.

Could anyone please point me in the right direction?

Thank you!

Thank you! I’m still struggling a little bit –

I don’t understand how the network interfaces will work. For the host setup: what do I do for network interfaces / bindings? (E.g., do I need to configure virtual interfaces like VFIO?) How do I give the containers access to these network interfaces (if applicable)?

For configuring hugepages on the container: do I just set these up as I normally would on a host and then on the containers? Is there any kind of additional reservation or mapping I need to do?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.