While we're at it, clean up the documentation a little.
The "all" container is not really used for anything any more, so it's
documentation is removed.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Add note how run cmake build with verbose output
(option "--make-verbose" of maptools.py)
Make path "./tools/docker/all" relative to folder of nearest README.md
Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
dumpcap is used instead of tcpdump for running the tests, so update the
reference to it in the README. While we're at it, add tshark as a
possibility for doing the capture a few lines above.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Docker logs is very useful to check what happened when something goes
wrong.
For example, it allows to check if the ebtables rules was applied
correctly or not. When it wasn't, "docker logs gateway-$USER"
gives (among other things):
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.19.0-6-amd64/modules.dep.bin'
modprobe: FATAL: Module ebtables not found in directory /lib/modules/4.19.0-6-amd64
The kernel doesn't support the ebtables 'filter' table.
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
The "all" docker allows building and running prplMesh inside containers.
It includes all the tools used for building and running prplMesh, and is
mainly used for running prplMesh on Windows.
Build this image:
cd tools/docker/all
docker image build --tag prplmesh-all .
The current use case for using the `all` image is to run prplMesh on a
Windows host for connecting to the WiFi TestSuite wts application (UCC).
This is done by running the container (mapping the sources or cloning
them from within the container) in priviliged mode on port X which is
set in the UCC as the DUT port:
docker container run -v //c/Users/prplMesh/dev1/:/work/dev1
--privileged -p 5000:5000 --expose 5000 --name gateway -d --user=0:0
--interactive --tty --entrypoint bash --rm prplmesh-windows
Signed-off-by: Tomer Eliyahu <tomer.b.eliyahu@intel.com>
There is an option to use docker without sudo,
For that, one must add a user to a docker group.
Added reference to the guide and removed the sudo from all the commands usage.
Signed-off-by: Semyon Barenboym <simonbaren@gmail.com>
runner and builder docker helper scripts support building the images
automatically if are not found. However, since the last change, the
path for ./image-build.sh has changed, so if images are not prebuilt the
scripts fail.
This commit fixes this and updates the README.md by moving the scripts
one directory up to `prplMesh/tools/docker`.
Signed-off-by: tbeliyah <tomer.b.eliyahu@intel.com>