Browse Source

debug mount

master
zeus 4 years ago
parent
commit
3d54d741b3
  1. 3
      start-iotclient-n.sh
  2. 3
      start-iotclient.sh
  3. 3
      start-iotserver.sh
  4. 3
      start-iotwebclient.sh

3
start-iotclient-n.sh

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
#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
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
docker run --rm -it --name iotclient-n --network="host" -v "$(pwd)/src/IoT/llo:/home/node/iot-swarm-example/src/IoT/llo" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/bclient.js

3
start-iotclient.sh

@ -1,4 +1,5 @@
#!/bin/bash #!/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: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
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
docker run --rm -it --name iotclient -p 3081:3081 --network="host" -v "$(pwd)/src/IoT/llo:/home/node/iot-swarm-example/src/IoT/llo" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotclient.js

3
start-iotserver.sh

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
#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
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
docker run --rm -it --name iotserver -p 8084:8084 -v "$(pwd)/src/IoT/llo:/home/node/iot-swarm-example/src/IoT/llo" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotserver.js

3
start-iotwebclient.sh

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
#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"
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"
docker run --rm -it --name iotwebclient -p 8080:8080 -v "$(pwd)/src/browser-client/src:/home/node/iot-swarm-example/src/browser-client/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…
Cancel
Save