This is my project where i used docker to install, configure and integrate HASS and Mosquitto
I am working now in a python program to simulate a MQTT switch and test my install script.
https://github.com/tonyldo/home-assistant-device-simulator
I hope this is useful to someone.