Developing lightweight computation at the DSG edge

tutorial_setup.sh 344 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

docker build -t client ../bookstore
docker create -t --rm --name tutorial --hostname="tutorial" -e "ANTIDOTE_TUTORIAL_SAVE=0" -v $(pwd)/../bookstore:/code client
docker network connect setup_local1 tutorial
docker network connect setup_local2 tutorial
docker start tutorial
docker exec -ti tutorial /bin/bash
docker stop tutorial