cours:iot:node-red_on_docker
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| cours:iot:node-red_on_docker [2019/01/16 10:30] – [Mosquitto Installation in a second container] tigli | cours:iot:node-red_on_docker [2019/01/28 18:22] (Version actuelle) – [Network Management in Docker] tigli | ||
|---|---|---|---|
| Ligne 60: | Ligne 60: | ||
| == Caveats : Docker Containers Mosquitto Configuration == | == Caveats : Docker Containers Mosquitto Configuration == | ||
| - | {{ : | + | {{ : |
| - | === Caveats : Docker Containers Network Configuration ==== | + | |
| + | == Containers Network configuration for docker and its containers == | ||
| + | |||
| + | // They in bridge mode and disconnect to host network // in the following steps. | ||
| + | |||
| + | The result is described in the figure bellow. | ||
| + | ==== Caveats : Docker Containers Network Configuration ==== | ||
| {{ : | {{ : | ||
| Ligne 69: | Ligne 75: | ||
| [[http:// | [[http:// | ||
| + | |||
| + | The GUI client is running on the native computer, so the access to the mosquitto broker is done through // localhost: | ||
| === Test Shell MQTT Clients === | === Test Shell MQTT Clients === | ||
| docker run -it ubuntu bash | docker run -it ubuntu bash | ||
| + | |||
| + | If the clients are running on the native computer, the access to the mosquitto broker is done through // localhost: | ||
| + | |||
| === Test with Node-Red in a Docker Container === | === Test with Node-Red in a Docker Container === | ||
| + | |||
| + | Because Node-Red is running in a Docker container, the MQTT client nodes can access to the mosquitto broker through // | ||
| + | |||
| + | ===== Appendices ===== | ||
| + | |||
| + | ==== Network Management in Docker ==== | ||
| + | |||
| + | [[https:// | ||
| + | [[cours: | ||
| + | |||
| + | |||
| + | ====== Solutions ====== | ||
| + | |||
| + | {{: | ||
cours/iot/node-red_on_docker.1547634607.txt.gz · Dernière modification : 2019/01/16 10:30 de tigli