zeus
4 years ago
7 changed files with 29 additions and 39 deletions
@ -0,0 +1,3 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
docker run --rm -it --name iotclient-n --network="host" -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5443/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/bclient.js |
@ -1,3 +1,3 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
|
|
||||
docker run --rm -it --name iotclient -p 3081:3081 -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5443/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotclient.js |
docker run --rm -it --name iotclient -p 3081:3081 --network="host" -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5443/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotclient.js |
||||
|
@ -0,0 +1,6 @@ |
|||||
|
#!/bin/bash |
||||
|
./stop-iotclient-n.sh |
||||
|
./stop-iotclient.sh |
||||
|
./stop-iotserver.sh |
||||
|
./stop-iotwebclient.sh |
||||
|
|
@ -0,0 +1,4 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
docker stop iotclient-n |
||||
|
docker rm iotclient-n |
Loading…
Reference in new issue