zeus
4 years ago
4 changed files with 8 additions and 5 deletions
@ -1,3 +1,4 @@ |
|||
#!/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 |
|||
#docker run --rm -it --name iotclient-n --network="host" -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/bclient.js |
|||
docker run --rm -it --name iotclient-n --network="host" -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/bclient.js |
|||
|
@ -1,3 +1,4 @@ |
|||
#!/bin/bash |
|||
|
|||
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 |
|||
#docker run --rm -it --name iotclient -p 3081:3081 --network="host" -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5480/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:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotclient.js |
|||
|
@ -1,4 +1,4 @@ |
|||
#!/bin/bash |
|||
|
|||
#docker run --rm -it -p 8084:8084 -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5443/iot-swarm-example:latest bash -c "node /home/node/iot-swarm-example/src/IoT/llo/iotserver.js" |
|||
docker run --rm -it --name iotserver -p 8084:8084 -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/iotserver.js |
|||
#docker run --rm -it --name iotserver -p 8084:8084 -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotserver.js |
|||
docker run --rm -it --name iotserver -p 8084:8084 -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotserver.js |
|||
|
@ -1,3 +1,4 @@ |
|||
#!/bin/bash |
|||
|
|||
docker run --rm -it --name iotwebclient -p 8080:8080 -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5443/iot-swarm-example:latest /bin/bash -c "cd /home/node/iot-swarm-example/src/browser-client; npm run serve" |
|||
#docker run --rm -it --name iotwebclient -p 8080:8080 -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5480/iot-swarm-example:latest /bin/bash -c "cd /home/node/iot-swarm-example/src/browser-client; npm run serve" |
|||
docker run --rm -it --name iotwebclient -p 8080:8080 -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest /bin/bash -c "cd /home/node/iot-swarm-example/src/browser-client; npm run serve" |
|||
|
Loading…
Reference in new issue