Uploaded January 2025 | Updated September 2026, 1 week ago
In this video, we will be showing you how to install and run the Mosquitto MQTT broker using Docker.
Tutorial: pimylifeup.com/mosquitto-mqtt-docker
Static IP on Ubuntu: pimylifeup.com/ubuntu-static-ip-netplan
Setting a Static IP on a Raspberry Pi: pimylifeup.com/raspberry-pi-static-ip-address
MQTT: mosquitto.org
Postman: postman.com
MQTT is a messaging protocol that is popularly used by IoT devices. It is designed to be lightweight and efficient which is perfect for low powered devices.
However, for MQTT to work, it relies on what is called an MQTT broker. These brokers act as like the middleman for any MQTT message. It can receive new message on topics and then allow them to be retrieved by subscribers.
One of the easiest ways to get an MQTT broker up and running is by using a Docker container.
In this video, we will be showing you how to install and run the Mosquitto MQTT broker using Docker.
Tutorial: pimylifeup.com/mosquitto-mqtt-docker
Static IP on Ubuntu: pimylifeup.com/ubuntu-static-ip-netplan
Setting a Static IP on a Raspberry Pi: pimylifeup.com/raspberry-pi-static-ip-address
MQTT: mosquitto.org
Postman: postman.com
MQTT is a messaging protocol that is popularly used by IoT devices. It is designed to be lightweight and efficient which is perfect for low powered devices.
However, for MQTT to work, it relies on what is called an MQTT broker. These brokers act as like the middleman for any MQTT message. It can receive new message on topics and then allow them to be retrieved by subscribers.
One of the easiest ways to get an MQTT broker up and running is by using a Docker container.







![An Easy Raspberry Pi Music Player Tutorial [Archived]
In this video I will be putting together a Raspberry Pi music player that you can control from any device that has browser within your local network.
Full Tutorial: https://pimylifeup.com/raspberry-pi-music-player/
For this project I use a prebuilt software image known as the Pi MusicBox. This is a software package that allows you to connect to several different services such as Spotify, google music and more. It also lets you play local music files so if you have an offline library you can still play that.
This is a headless music player so you won’t be able to control the player on the Pi itself. You will need to use a different device such as your phone, computer or anything else that has a browser to be able to control it.
You won’t need any extra equipment apart from the standard parts you need for the Raspberry Pi. However, it has been recommended that you invest in a USB audio card or a sound card for the Pi so that you can get better audio. This is entirely optional and I found the audio through the HDMI just fine.
Since the Raspberry Pi music server uses a prebuilt image you can’t just easily install this onto an existing operating system. However, once you have installed the software you can add or do extra stuff on the Pi as it still contains everything you get with normal Raspbian.
It is very important you have your network setup for this project because you won’t be able to control it via the Pi directly. With the Ethernet just simply plug it in. The WiFi you will need to do a few extra steps to getting it working correctly.
There are a few security issues with this particular software package that I detail over at the website linked above. If you have concerns, then be sure to head over to the website and read up on it.
Hopefully you have been able to setup this Raspberry Pi music player correctly and without any issue. If you do run into any troubles, have feedback or anything else then be sure to drop a comment below or over at pimylifeup.com. An Easy Raspberry Pi Music Player Tutorial [Archived]](https://i.ytimg.com/vi/xRYwM8jTb-8/mqdefault.jpg)


