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 8098FA0547 for ; Thu, 24 Jun 2021 15:03:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF6EF40040; Thu, 24 Jun 2021 15:03:38 +0200 (CEST) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id 0A89B4003C for ; Thu, 24 Jun 2021 15:03:37 +0200 (CEST) Received: by mail-wm1-f42.google.com with SMTP id u5-20020a7bc0450000b02901480e40338bso4809547wmc.1 for ; Thu, 24 Jun 2021 06:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mvista-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QhCNDnNoUawJXO6uUzkwibiohGOLM9uHP3Ak/Qlxcak=; b=s4VP5zTAI9j/Ih2Dn13+SY/SpwnwI3hWtDRFOrq4mrQXpZY0stub9STztOFK3m/Ix/ tfUokkeNHzfrUxlcnyyV6KwoCUuqUqZrF0jErUyReJa/QWsSPRIkMcUrustwwtRNCQIY fmYLBSmY7uVvOPnuvJoh+y9rcS+Detr2gGA5JEG3ERQKpBkYaTEkKbgYisWtFuJym8ik NfFvuN9mQ4+MXupmE1saBD6MCcemlWbF2kjd5uS2uD1xY4nx0Pnu8veoziz7Z9GAnvL+ N2Ns6hykqsxJQH+RDawe97BRgnv/2enW1RoGVZto75hBJSIr89IcAuG0Y2RK8PWRodJx h8OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QhCNDnNoUawJXO6uUzkwibiohGOLM9uHP3Ak/Qlxcak=; b=A4JPRPGQLRlJ3vzuxitB7VceEoevoUSrKOqblwH0XLT0GtjLsyrRRwqzAVwKgWXmtW wmeK10zYYUjc2lDyk+DFjBfdE9YZwO2eheVOEppQwpqcH7c9fbo4iVgp79K9oSSP2Wnd vyWbDztq8p3Cc76ru1LP+P0hA87QG3mCix5fAmmLErit+o0hllIfS7kY4SRxKoGFBGdv aUt4t24g1efonWqKSciYuMnrhpWPtHF4mlqMRxRLFLOixzR9K+dB01jOn5jCmJ35ckjl UcUsQGvkDroAlAyTs9IS+Hsl9tzcs7w7CzDojjW5jrEvECxzRrRSwGNUFJTeqbzMXaYs VpxQ== X-Gm-Message-State: AOAM533Tlo5V9DU1mRzNjphWj81g7bsiqGP0VEktYOCp87SlRGxroJ2B x1PZbCkgXs5NN1vwYYNP1YbSMiobVpygnY39j2kS7g== X-Google-Smtp-Source: ABdhPJz02nW7hmfKJBSuPZKWrFVdQdI+7QJ8WYvtmGh6kaik74bOx6U6Bs/K8vgpyG02CRif3shwKif7CswfrBLz34c= X-Received: by 2002:a05:600c:2215:: with SMTP id z21mr4308347wml.64.1624539817533; Thu, 24 Jun 2021 06:03:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ashish Mishra Date: Thu, 24 Jun 2021 18:33:26 +0530 Message-ID: To: Muhammad Zain-ul-Abideen Cc: users Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-users] How to get DPDK running in docker container 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 Sender: "users" Hi Chethan , Will look at the repo. Hi Muhammad , Please do share if any reference available to get dpdk withd docker Have started with Docker for this project hence having basic workable exposure on Docker . Below are the two error i am observing 1) Default dockerfile obtained from https://github.com/jeremyeder/docker-dpdk ~/docker-dpdk (master) : docker build -t dpdk-from-github . -f Dockerfile Sending build context to Docker daemon 85.5kB Step 1/9 : FROM registry.access.redhat.com/rhel7/rhel-tools ---> 2c2edff6b46f Step 2/9 : MAINTAINER jeder@redhat.com ---> Using cache ---> 88cb92ece47f Step 3/9 : LABEL RUN docker run -it --privileged -v /sys/bus/pci/drivers:/sys/bus/pci/drivers -v /sys/kernel/mm/hugepages:/sys/kernel/mm/hugepages -v /sys/devices/system/node:/sys/devices/system/node -v /dev:/dev --name NAME -e NAME=NAME -e IMAGE=IMAGE IMAGE" failed to process "docker run -it --privileged -v /sys/bus/pci/drivers:/sys/bus/pci/drivers -v /sys/kernel/mm/hugepages:/sys/kernel/mm/hugepages -v /sys/devices/system/node:/sys/devices/system/node -v /dev:/dev --name NAME -e NAME=NAME -e IMAGE=IMAGE IMAGE\"": unexpected end of statement while looking for matching double-quote 2) If i comment out the above line . ( by few search i can relate that the priviliged should not be in build ) ~/docker-dpdk (master) : docker build -t dpdk-from-github . -f Dockerfile Sending build context to Docker daemon 85.5kB Step 1/8 : FROM registry.access.redhat.com/rhel7/rhel-tools ---> 2c2edff6b46f Step 2/8 : MAINTAINER jeder@redhat.com ---> Using cache ---> 88cb92ece47f Step 3/8 : RUN yum install -y sudo libhugetlbfs-utils libpcap-devel kernel kernel-devel kernel-headers ---> Running in f8dd06dac356 Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable To enable custom repositories: yum-config-manager --enable The command '/bin/sh -c yum install -y sudo libhugetlbfs-utils libpcap-devel kernel kernel-devel kernel-headers' returned a non-zero code: 1 Thanks , Ashish On Thu, Jun 24, 2021 at 6:23 PM Muhammad Zain-ul-Abideen wrote: > I have not found any.. are you new to dockers too? If not? What issue are > you facing? > > On Thu, Jun 24, 2021, 1:59 PM Ashish Mishra wrote: > >> Hi Members , >> >> Any pointers or dock will be helpful . >> I am trying to have DPDK in docker >> >> >> Thanks , >> Ashish >> >> >> >> On Wed, Jun 23, 2021 at 7:07 PM Ashish Mishra wrote: >> >> > Hi Group Member's , >> > >> > I am new to DPDK and hence it would be helpful if the team can share any >> > readme / github or any pointers below . >> > >> > We want to get a DPDK + docker ARM board . >> > 1) I tried https://github.com/jeremyeder/docker-dpdk >> > But this seems 6 year old repo & i get lot of error when tried to >> > replicate this project >> > >> > 2) Is there any standard doc / readme / github project to fork >> > >> > Thanks , >> > Ashish >> > >> > >> > >> > >> >