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
- Host: GitHub
- URL: https://github.com/bjoluc/docker-contiki
- Owner: bjoluc
- License: mit
- Created: 2021-11-06T20:58:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-21T09:41:11.000Z (over 4 years ago)
- Last Synced: 2025-03-05T23:44:46.186Z (over 1 year ago)
- Language: Dockerfile
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: LICENSE
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