def deploy(self):
    if (not self.set_deployed()):
        return
    logging.info('Creating and running MQTT broker docker container...')
    self.client.containers.run(self.image_store.get_image(self.get_engine()), detach=True, name=self.name, network=self.network.name, ports={'1883/tcp': 1883}, entrypoint=self.command)
    logging.info("Added container '%s'", self.name)
def deploy(self):
    if (not self.set_deployed()):
        return
    logging.info('Creating and running MQTT broker docker container...')
    self.client.containers.run(self.image_store.get_image(self.get_engine()), detach=True, name=self.name, network=self.network.name, ports={'1883/tcp': 1883}, entrypoint=self.command)
    logging.info("Added container '%s'", self.name)