Skip to content

Running cooja in docker

André Samuelsson edited this page Mar 15, 2018 · 1 revision

A dockerfile in the root of the repo enables us to run tests on any computer with docker.

To build the container

docker build -f Dockerfile-max-test -t cooja .

To run the container and save the test results to the tests folder

docker run -it -v $PWD/a2-synchrotron-contiki/apps/chaos/max/tests:/home/cooja/a2-synchrotron/a2-synchrotron-contiki/apps/chaos/max/tests  --env testName=hello --env simDuration=20 cooja
Clone this wiki locally