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:28] – [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 59: | Ligne 59: | ||
* toke/ | * toke/ | ||
- | == Caveats : Docker Containers Network Configuration == | + | == Caveats : Docker Containers Mosquitto 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 | ||
{{ : | {{ : | ||
- | == Caveats : Docker Containers Mosquitto Configuration == | ||
- | {{ : | ||
=== Test with a GUI Clients === | === Test with a GUI Clients === | ||
[[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.1547634520.txt.gz · Dernière modification : 2019/01/16 10:28 de tigli