Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 692 Bytes

Readme.md

File metadata and controls

39 lines (26 loc) · 692 Bytes

Running the demo

Starting at the repository's root directory.

  1. Create the virtual network
$ docker network create --subnet=172.20.0.0/24 demo
  1. Build the project's image
$ docker build --tag summer-project .
  1. Run the EDGE container
$ docker run --rm -it -p 8080:8080 --network=demo --ip 172.20.0.2 --cpus='0.2' -e LAYER=edge summer-project
  1. Run the FOG container
$ docker run --rm -it --network=demo --ip 172.20.0.3 --cpus='0.4' -e LAYER=fog summer-project
  1. Run the CLOUD container
$ docker run --rm -it --network=demo --ip 172.20.0.4 -e LAYER=cloud summer-project
  1. Run the DEVICE simulator
$ python3 device/device.py