DPDK usage discussions
 help / color / mirror / Atom feed
From: Thea Corinne Rossman <thea.rossman@cs.stanford.edu>
To: users@dpdk.org
Subject: Containernet (Docker/Container Networking) with DPDK?
Date: Sun, 17 Nov 2024 21:42:59 -0800	[thread overview]
Message-ID: <CAHXF6-rD8J6TK4kQXOZ1_BCcM1znRdi_=shByRUwgrT_EhZSqA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1944 bytes --]

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!

[-- Attachment #2: Type: text/html, Size: 2420 bytes --]

             reply	other threads:[~2024-11-18  5:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-18  5:42 Thea Corinne Rossman [this message]
2024-11-19 20:53 ` Thea Corinne Rossman
2024-11-19 21:29   ` Stephen Hemminger
2024-11-19 21:39     ` Thea Corinne Rossman
2024-11-19 22:03       ` Stephen Hemminger
2024-11-20  7:10         ` Kompella V, Purnima
2024-11-20  9:27           ` Tom Barbette
2024-11-20  9:28             ` Tom Barbette
2024-11-20  9:28               ` Tom Barbette
2024-11-20 19:49               ` Thea Corinne Rossman
2024-11-19 22:14       ` Thomas Monjalon
2024-11-19 23:23         ` Thea Corinne Rossman
2024-11-19 23:30           ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHXF6-rD8J6TK4kQXOZ1_BCcM1znRdi_=shByRUwgrT_EhZSqA@mail.gmail.com' \
    --to=thea.rossman@cs.stanford.edu \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).