Contiki Docker image for a university course on networked embedded systems. Supports msp430 (only) and simulations via Cooja.
Install docker and docker-compose.
Afterwards, download docker-compose.yml (or, if you are using Linux, docker-compose.linux.yml, renaming it to docker-compose.yml
) from this repo and create a src
directory next to it (it will be mounted in the container at /home/user/src
).
Then run docker-compose up -d
to start the contiki
container.
When you run docker-compose exec contiki cooja
, the Cooja GUI should open up.
To run a shell in the container, issue docker-compose exec contiki bash
.
You may be able to use SSH with X Forwarding to access the Cooja GUI:
- From your host machine, ssh into the
contiki
container viassh -X user@localhost -p 2222
(the password isuser
) - Via ssh, run
cooja
in the container to start the Cooja simulator