An open API service indexing awesome lists of open source software.

https://github.com/bjoluc/docker-contiki

Contiki Docker image for a university course on networked embedded systems
https://github.com/bjoluc/docker-contiki

Last synced: 3 months ago
JSON representation

Contiki Docker image for a university course on networked embedded systems

Awesome Lists containing this project

README

          

# docker-contiki

[Contiki](https://github.com/contiki-os/contiki) Docker image for a university course on networked embedded systems. Supports msp430 (only) and simulations via Cooja.

## How to use this

Install [docker](https://docs.docker.com/get-docker/) and [docker-compose](https://docs.docker.com/compose/).
Afterwards, download [docker-compose.yml](/docker-compose.yml) (or, if you are using Linux, [docker-compose.linux.yml](/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.

### On Linux

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`.

### On anything that doesn't natively support X11

You may be able to use SSH with X Forwarding to access the Cooja GUI:

* From your host machine, ssh into the `contiki` container via `ssh -X user@localhost -p 2222` (the password is `user`)
* Via ssh, run `cooja` in the container to start the Cooja simulator