DPDK usage discussions
 help / color / mirror / Atom feed
From: Ashish Mishra <ashishm@mvista.com>
To: Muhammad Zain-ul-Abideen <zain2294@gmail.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] How to get DPDK running in docker container
Date: Thu, 24 Jun 2021 18:33:26 +0530
Message-ID: <CAP2OjcgCDYjg6UvQZGyxMbhV_FUYTA6AGF4E-qh9853QXYPZpw@mail.gmail.com> (raw)
In-Reply-To: <CAN7yQ2odbKKdmmcMpNF2emVhP23NiFpsCBrV+Eew4TQ04NS61g@mail.gmail.com>

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 <repo>
 To enable custom repositories:
     yum-config-manager --enable <repo>
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 <zain2294@gmail.com>
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 <ashishm@mvista.com> 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 <ashishm@mvista.com> 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
>> >
>> >
>> >
>> >
>>
>

      reply	other threads:[~2021-06-24 13:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23 13:37 Ashish Mishra
2021-06-24  8:59 ` Ashish Mishra
2021-06-24 12:53   ` Muhammad Zain-ul-Abideen
2021-06-24 13:03     ` Ashish Mishra [this message]

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=CAP2OjcgCDYjg6UvQZGyxMbhV_FUYTA6AGF4E-qh9853QXYPZpw@mail.gmail.com \
    --to=ashishm@mvista.com \
    --cc=users@dpdk.org \
    --cc=zain2294@gmail.com \
    /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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git