Containernet (Docker/Container Networking) with DPDK?
Thea Corinne Rossman
thea.rossman at cs.stanford.edu
Mon Nov 18 06:42:59 CET 2024
Hello all!
I'm hoping for some general help getting started with DPDK in a Containernet
<https://containernet.github.io> topology. I have some DPDK experience, but
I'm very new to container networking :). I've been working with an Ubuntu
24.10 VM, though I can run any experiments on Cloudlab (so am not
necessarily tied to a particular architecture).
First question: for setting up the host machine: Do I need to install DPDK,
set up hugepages, etc., on the host, or is configuration in just the
containers sufficient?
Second question: I'm having trouble creating containers that will let me
run DPDK applications. High-level, I understand that I'll need to create or
find a container image that's configured with DPDK and all dependencies, as
well as the Containernet requirements
<https://github.com/containernet/containernet/wiki>.
I tried to build on this: https://github.com/shanakaprageeth/docker-dpdk .
However, when I ran the setup 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 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20241117/c8e59bfa/attachment.htm>
More information about the users
mailing list