Difference between revisions of "Docker Image for developing"
From ESS-WIKI
Eric.liang (talk | contribs) |
Eric.liang (talk | contribs) |
||
Line 25: | Line 25: | ||
sudo docker start advigw-wsn-simulator</pre> | sudo docker start advigw-wsn-simulator</pre> | ||
− | |||
Revision as of 02:30, 6 December 2016
Contents
MQTT BUS
sudo docker run -d -it --name advigw-mqtt-bus -p 1883:1883 advigw4x86/mqtt-bus
API-Gateway
sudo docker run -d -it --name advigw-api-gw -p 3000:3000 advigw4x86/api-gw
WISESnail lib/sample & Development "WSN Connectivity" environment
sudo docker run -d -it --name advigw-wisesnail-lib-dev -v $PWD:/home/adv/workspace:rw advigw4x86/wisesnail-lib sudo docker exec -it advigw-wisesnail-lib-dev bash
WSN Simulator
Install & Run WSN Simulator
sudo docker run -d -it --name advigw-wsn-simulator advigw4x86/wsn-simulator
Stop / Start WSN Simulator
sudo docker stop advigw-wsn-simulator sudo docker start advigw-wsn-simulator
Network Configuration in Docker Container
sudo docker network create -d bridge --subnet 172.25.0.0/16 advigw_network sudo docker network connect advigw_network advigw-mqtt-bus sudo docker network connect advigw_network advigw-api-gw sudo docker network connect advigw_network advigw-wisesnail-lib-dev sudo docker network connect advigw_network advigw-wsn-simulator