Connect to MQTT broker from a docker instance

  docker, mosquitto, mqtt

I have a local MQTT broker that is running on port 1883. I also have a php client inside docker app that I want to connect to the local mqtt broker. How do I make the local service available to the docker client?

Source: Docker Questions