[Ndn-interest] [EXT] Getting started with ndn-pyton

Junxiao Shi shijunxiao at arizona.edu
Tue Mar 12 14:26:07 PDT 2024


Hi Marc

The "official" Docker release is published on GitHub Container Registry:

   - https://github.com/named-data/ndn-cxx/pkgs/container/ndn-cxx
   - https://github.com/named-data/NFD/pkgs/container/nfd
   - https://github.com/named-data/NFD/pkgs/container/nfd-status-http-server

I believe these are amd64 only, but the Dockerfiles are in the git
repository.
These were developed at the 15th NDN hackathon.
The recent 16th NDN hackathon developed ndnping and NLSR containers, but
they are not yet published.


The scripts in yoursunny/docker-nfd
<https://github.com/yoursunny/docker-nfd> repository are mainly for running
NFD on Raspberry Pi Zero W and BeagleBone Black devices.
In 2021, I made NFD-nightly <https://nfd-nightly.ndn.today/> that publishes
.deb packages for NFD and related software, which replaced docker-nfd
scripts.

You can use a RUN step to install NFD-nightly into a Docker container image.
Here's an example:
https://github.com/usnistgov/ndn-dpdk/blob/2e1dda9f261a10fa12f2b82386f547e7a7bd2ad4/docs/interop/nfd/Dockerfile

For ARMv8, you can use debian:bullseye base image and install NFD-nightly
Debian 11 ARMv8 packages.
I will add Debian 12 ARMv8 build on NFD-nightly soonTM.


In most cases, python-ndn examples only require one ndnsec command as
preparation:

ndnsec key-gen /$(hostname -s)/$(id -un)


Yours, Junxiao

On Tue, Mar 12, 2024 at 5:01 PM Marc Mosko via Ndn-interest <
ndn-interest at lists.cs.ucla.edu> wrote:

> *External Email*
>
> Hello,
>
>
>
> I’d like to setup a fresh environment on ubuntu 22.04, but there seems to
> not be any quick getting started document.  Is there one?  Otherwise, I’m
> writing up my notes in google docs.
>
>
>
> I’d like to run NFD and associated tools in docker.  Is there an official
> docker release, or build process?  I’ve found
> github.com/yoursunny/docker-nfd, but I’m working in an ARM64 native
> environment (aarch64) and those scripts have a bunch of stuff baked into
> them.
>
>
>
> I also could not find a getting started with ndnsec, and the ndn-python
> examples assume you have NFD and credentials setup.
>
>
>
> Thanks,
>
> Marc
>
>
>
>
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20240312/f15e61bb/attachment.html>


More information about the Ndn-interest mailing list