This image contains a sample MQTT client written in GO. The original source code of the client comes from paho.mqtt.golang.
docker run --rm cremuzzi/mqtt-client mqtt -action sub -broker tcp://iot.eclipse.org:1883 -topic "#"
docker pull cremuzzi/mqtt-client:latest