This is a docker container that installs and runs NFD.
- In the project folder, run
docker-compose up -dto start docker container node1.- node1 has IP 192.168.10.225
- Use
docker-compse exec node1 bashto bash into the Docker
In order to be able to share the NFD socket between the host and the docker container, the ndn-cxx client must be updated with the new socket path.
On the host, the following configuration commands must be copied into their proper place.
git clone https://github.com/Howard-Z/nfd-docker.git
cd nfd-docker
cd confs
cp client.conf /usr/local/etc/ndn/client.conf
cd ..
cd ..
rm -rf nfd-docker
- Use
docker-compose down -v --rmi all --remove-orphansto shutdown the docker.