Adding verbage to indicate cross-platform support for Docker, adding note about start/stop of container

master
Ryan Summers 2021-08-09 13:53:05 +02:00
parent 08cecb4045
commit 726edc576b
1 changed files with 6 additions and 2 deletions

View File

@ -117,8 +117,9 @@ been used during development, but any MQTTv5 broker is supported.
Stabilizer utilizes a static IP address for broker configuration. Ensure the IP address was
[configured](#building-firmware) properly to point to your broker before continuing.
We recommend running Mosquitto through [Docker](https://docker.com). After docker has been
installed, run the following command from the `stabilizer` repository:
We recommend running Mosquitto through [Docker](https://docker.com) to easily run Mosquitto on
Windows, Linux, and OSX. After docker has been installed, run the following command from
the `stabilizer` repository:
```
docker run -p 1883:1883 --name mosquitto -v `pwd`/mosquitto.conf:/mosquitto/config/mosquitto.conf -v /mosquitto/data -v /mosquitto/log eclipse-mosquitto:2
```
@ -126,6 +127,9 @@ docker run -p 1883:1883 --name mosquitto -v `pwd`/mosquitto.conf:/mosquitto/conf
> _Note_: The above command assumes a bash shell. If using powershell, replace `` `pwd` `` with
> `${pwd}`
This command will create a container named `mosquitto` that can be stopped and started easily via
docker.
## Test the Connection
Once your broker is running, test that Stabilizer is properly connected to it.