Starting at the repository's root directory.
- Create the virtual network
$ docker network create --subnet=172.20.0.0/24 demo
- Build the project's image
$ docker build --tag summer-project .
- 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
- Run the FOG container
$ docker run --rm -it --network=demo --ip 172.20.0.3 --cpus='0.4' -e LAYER=fog summer-project
- Run the CLOUD container
$ docker run --rm -it --network=demo --ip 172.20.0.4 -e LAYER=cloud summer-project
- Run the DEVICE simulator
$ python3 device/device.py