Building My Homelab: Learning by Doing with Raspberry Pi, Pi-hole, and Docker
How It Started
One of the things I enjoy most about technology is being able to get hands-on with it. Reading about networking, Linux, cybersecurity, and infrastructure is useful, but there’s something different about setting things up yourself, watching them work, and troubleshooting them when they don’t.
That’s a big part of why I’ve been building my homelab.
What started as an opportunity to explore networking and self-hosted services has grown into an environment where I can experiment with different technologies, learn how they fit together, and develop practical IT skills along the way.
At the center of my setup is a Raspberry Pi 4. It might not be the most powerful piece of hardware, but it has become a useful platform for exploring everything from DNS filtering to Docker containers and self-hosted applications.
And honestly, that’s part of what makes the project interesting. You don’t always need an elaborate server rack to start learning about infrastructure.
Taking Control of My Network with Pi-hole
One of the first major parts of my homelab has been Pi-hole.
I wanted to explore network-wide ad and tracker blocking rather than relying entirely on software installed on individual devices. Pi-hole gave me a way to approach that problem at the DNS level.
With my network configured to use Pi-hole for DNS, I can manage filtering in one place and see which domains devices are requesting. Reviewing DNS activity also gives me a better understanding of how applications communicate with services across the internet.
I’ve also worked on integrating Unbound as a local recursive DNS resolver and enabling DNSSEC validation.
Getting these pieces configured has helped me appreciate that DNS is more than just a setting you enter into a device. It’s a fundamental part of how a network operates, and when name resolution stops working, the effects can be felt across multiple applications and services.
Another lesson has been finding the right balance with blocklists. More blocking isn’t automatically better if it prevents a website or application from working properly. Maintaining a useful filtering setup means understanding what is being blocked and troubleshooting when something legitimate stops working.
That balance between security, privacy, and usability is one of the things I find interesting about managing my own network.
Turning a Raspberry Pi into a Small Server
The Raspberry Pi 4 has also given me a practical way to explore Linux administration.
I run my system headlessly, which means I manage it without needing a dedicated graphical desktop. Working this way encourages me to become more comfortable with service management, network configuration, logs, and command-line troubleshooting.
It’s also a reminder that even a small server has a lot of moving parts.
Network interfaces, DNS settings, running services, storage, and remote access all have to work together. A problem that initially looks like an application issue might turn out to be related to connectivity or name resolution instead.
I’ve encountered configuration and connectivity issues while working on my setup, and those situations have reinforced the value of checking the fundamentals before making changes. I try to understand what’s happening, isolate the likely cause, and test a solution rather than changing everything at once.
That’s a mindset I want to continue developing as I grow in IT.
Exploring Docker and Self-Hosted Applications
Another part of the journey has been expanding my use of Docker.
Containers provide a way to run different applications in a more organized environment, with their own configurations and dependencies. They also introduce new things to understand, including port mappings, persistent storage, environment variables, and communication between services.
My homelab includes several applications that serve different purposes:
- Nextcloud for personal cloud storage and file management.
- Uptime Kuma for monitoring whether services are available.
- Prometheus and Grafana for collecting and visualizing infrastructure metrics.
- Node Exporter for exposing host-level metrics.
- Homepage for bringing my services together in one dashboard.
- SearXNG for self-hosted metasearch.
- RomM for organizing a game library.
Each application gives me another opportunity to understand how services are deployed and maintained.
Running multiple applications on one machine also means thinking about how they coexist. For example, applications need compatible port assignments, their data must persist appropriately, and their containers need to be configured correctly.
These details might not be the most exciting part of self-hosting, but they’re important. Getting an application running is one thing; understanding how to keep it accessible and maintain its data is another.
Learning Through Troubleshooting
One thing I’ve come to appreciate about a homelab is that it gives you permission to experiment.
Not everything works on the first attempt. A configuration change can have unexpected consequences, a service can become unreachable, or two applications can compete for the same port.
Those situations can be frustrating, especially when other services depend on the system you’re working on. But they’re also opportunities to learn how the underlying technology behaves.
I’ve had to pay attention to details such as DNS configuration, network connectivity, service availability, and application port assignments while building out my environment.
The important part isn’t pretending every setup goes smoothly. It’s learning how to investigate a problem, understand the relationships between components, and work toward a reliable solution.
That’s one of the biggest reasons I enjoy having a homelab: the learning doesn’t stop when an application starts working.
Why I’m Building It
For me, this project is about more than running a collection of applications at home.
It’s a way to explore technologies that interest me, become more comfortable administering systems, and connect concepts like networking, security, Linux, and monitoring in a practical environment.
I also like the control that self-hosting offers. It gives me an opportunity to understand where applications run, how they’re configured, and how their data is managed instead of treating those details as a black box.
At the same time, self-hosting comes with responsibilities. Services need to be maintained, configurations need to be understood, and security and recovery considerations can’t be ignored just because the environment is personal.
Those are areas I want to keep improving as my homelab develops.
What’s Next?
I’m treating my homelab as an ongoing project rather than something that will ever be completely finished.
There are always new configurations to explore, existing services to improve, and opportunities to make the environment more reliable. I’d like to continue refining my monitoring, strengthening backup and recovery practices, and exploring ways to organize and secure my network.
I also want to document more of the process, including the problems I encounter and what I learn from solving them.
Hopefully, sharing those experiences will be useful to other people who are building their own homelabs or learning about IT infrastructure.
Final Thoughts
Building a homelab has given me a practical space to be curious, experiment, and learn by doing.
From running Pi-hole on a Raspberry Pi to managing Docker containers and exploring monitoring tools, each part of the setup has helped me better understand the technologies behind the services we use every day.
I’m still learning, and that’s exactly what makes the project worthwhile.
For anyone thinking about starting a homelab, my biggest takeaway is simple: start with something you’re interested in, learn how it works, and build from there. You don’t need to have everything figured out before you begin.
I’ll continue sharing my progress as I expand my setup and learn along the way.
Thanks for following my journey!