![]() You can do that by typing the next commands: The next thing is to create a new text file that you will use to configure Mosquitto MQTT broker. The new volume will be stored on your local drive on C:\ProgramData\Docker\volumes. This will create a new volume that Mosquitto container will use to write its data. So, open the PowerShell windows and type the command: To run your container you have to create a Docker volume first. And because Mosquitto broker image is actually a Linux image you have to switch your Docker to Linux containers. You should have Docker installed on your PC. But today, I would like to show you even easier method to run it on your Windows 10 machine. ![]() Nowadays, it is pretty much easy to run Mosquitto MQTT broker on Windows 10 using, for example, Windows Linux Subsystem (WSL).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |