From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ABE7045C9B for ; Mon, 18 Nov 2024 06:43:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B6224029C; Mon, 18 Nov 2024 06:43:39 +0100 (CET) Received: from smtp1.cs.Stanford.EDU (smtp1.cs.stanford.edu [171.64.64.25]) by mails.dpdk.org (Postfix) with ESMTP id C6940400D7 for ; Mon, 18 Nov 2024 06:43:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.stanford.edu; s=cs2308; h=Content-Type:To:Subject:Message-ID:Date:From: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bS+KiT4Ex6e0x/oeg1jYbUgQbnMWbzy1vuERGkXVdng=; t=1731908617; x=1732772617; b=AnMzeNxDPvzbbA4JVm0WOByPhOT6DWckfVaQXzDxEfASaSVJtJPNFnEoRLdRQhEyly5qCgSKJkP DULvKiHknMsnRjHC2dEq/92TAWCUUEtspiNg520MFDg+xlgmn8/CrM425uKw5oRr/BLrqwsxTP+Jo T/wgMjDoLL8Dr9JJv01eK/gn4EPZyEsnJdTLepH6hWAfqRl7hhPsoUtCC6MwXgOLuQb5YkeDU45Xh D7eDjUcHfKhiEs6OMRIs5NNcVPspg83l1SfnDv6DimBlRvG8ecAgx/CEp9mVZbSGqRljtyPNveNkM R540ohMCsHKinTHPBpu+kwm1uH3L0qlUg9Ew==; Received: from mail-pj1-f72.google.com ([209.85.216.72]:42211) by smtp1.cs.Stanford.EDU with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tCuXw-0007VA-2q for users@dpdk.org; Sun, 17 Nov 2024 21:43:36 -0800 Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-2ea6b37ed73so565234a91.0 for ; Sun, 17 Nov 2024 21:43:36 -0800 (PST) X-Gm-Message-State: AOJu0YxW3HnfqbbJuwDevQsNwvy89iaHb+wq3WtBjLqhgD8F1NRGuXY1 x2fWLeFFz9jL8RfIyh9uRzcpqufq4YHkDiv/1UWWykRNfDNXrakyHGqEsiEJbjOnjimUAkfOfcU 4T/P2BWBKF8rfQXuWnXRpISnL6Ip3ZH001bK3L/YGvO8sMLROF5UD3rf0L/F93WhLbvK7OhAHym 6B90MquHGYoPKOg6xC/lYOLdsjjpGXGTqRliEzswe61PS9Wb8Bi++m0Q== X-Received: by 2002:a17:90a:dfc3:b0:2ea:6aa8:c4b7 with SMTP id 98e67ed59e1d1-2ea6aa8c6dcmr4345837a91.3.1731908615282; Sun, 17 Nov 2024 21:43:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHknyETtgZ1wR87LmwZNyPS1/ynLJuTV+s3He8XaYP2xiQkfOhUYdzcFqtX4F6vw+pU5MQw5BnYfJsiRSy+GHI= X-Received: by 2002:a17:90a:dfc3:b0:2ea:6aa8:c4b7 with SMTP id 98e67ed59e1d1-2ea6aa8c6dcmr4345825a91.3.1731908615065; Sun, 17 Nov 2024 21:43:35 -0800 (PST) MIME-Version: 1.0 From: Thea Corinne Rossman Date: Sun, 17 Nov 2024 21:42:59 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Containernet (Docker/Container Networking) with DPDK? To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000c8f026062729652a" X-proofpoint-id: ef3f9bb5-395f-4fcc-a797-849143d52903 X-Spam-Score: 1.7 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin on smtp1.cs.Stanford.EDU X-Scan-Signature: 182a93e729013cb8e6197caf3eccd507 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000c8f026062729652a Content-Type: text/plain; charset="UTF-8" Hello all! I'm hoping for some general help getting started with DPDK in a Containernet 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 . 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! --000000000000c8f026062729652a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all!=C2=A0

I'm hoping for some general help getting started with DPDK in a <= a href=3D"https://containernet.github.io" target=3D"_blank">Containernet=C2=A0topology. I have some DPDK experience, but I'm very new to conta= iner networking :). I've been working with an Ubuntu 24.10 VM, though I= =C2=A0can run any experiments on Cloudlab (so am not necessarily tied to a = particular architecture).=C2=A0

First que= stion: for setting up the host machine: Do I need to install DPDK, set up h= ugepages, etc., on the host, or is configuration in just the containers suf= ficient?

Second question: I'm having tro= uble 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&= #39;s configured with DPDK and all dependencies, as well as the Containerne= t requirements.=C2=A0

I tried to build on= this:=C2=A0https://github.com/shanakaprageeth/docker-dpdk=C2=A0. How= ever, when I ran the setup script, I get this error:

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

<= /div>
When I downloaded the image directly from docker (docker pull sha= nakaprageeth/ubuntu-dpdk), no commands on the container worked (ifconfig, a= pt-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 scrip= ts (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!
--000000000000c8f026062729652a--