Moving a Homelab from Bare-Metal Ubuntu to TrueNAS & Docker
If you have ever seen Office Space, you probably remember Milton getting his desk moved further and further into the basement until he finally snapped. For a long time, my homelab felt a lot like that, except I was the one moving everything by hand every time I wanted to upgrade hardware or rebuild a server.
I built my first PC back in 2000, and I have been tinkering ever since. I started out virtualizing on a desktop PC with VMware, and eventually rescued enough decommissioned server and networking gear from work to fill a half-rack with five servers. At the center of it all was a bare-metal Ubuntu box running Plex, and for a while, it got the job done.
Then the maintenance caught up with me. One bad update or a hardware swap meant spending a weekend reinstalling packages, hunting down config files, and hoping nothing broke in the process. Moving to TrueNAS and Docker fixed that, and it completely changed how I run my home network.
The Problem with Bare-Metal Installs
Think of your server like a plot of land. Installing software directly on bare-metal Ubuntu is like building a house on that land. It works great while you are living in it, until you decide you need to move. You cannot just pick up a house and drop it onto a new lot without tearing half of it down first.
A Docker container is more like an RV. Everything the app needs to run lives inside that container, separate from the host operating system. If I need to move a service to a different machine or rebuild the underlying server, I just pack up the config folder, point the container at my data, and fire it back up. No dependency conflicts, and no spent weekends rebuilding from scratch.
Bare-Metal Ubuntu vs. TrueNAS and Docker
| Approach | Updates & Rollbacks | Hardware Migration | Storage Management |
|---|---|---|---|
| Bare-metal Ubuntu | System packages and app dependencies share the same OS, so one update can break another app. | Painful. You have to reinstall every service and rebuild configs on the new box. | Manual drive mounting, RAID setup, and share permissions via config files. |
| TrueNAS + Docker | Each container is isolated. If an image breaks, you roll back the tag and move on. | Portable. Copy your appdata and Compose files, spin the containers up, and you are back online. | Built-in ZFS pools, snapshots, and SMB/NFS shares managed from one web UI. |
What My Stack Looks Like Today
I am not a fan of adding complexity just to brag about it. There is no reason to run six different services to manage a doorbell camera. At the end of the day, your homelab should solve a real problem without burying you in moving parts.
Every container in my TrueNAS stack earns its keep by handling something Plex cannot do on its own. Plex is great at serving media, but it does not manage your storage or keep your library organized for you. Here is what actually runs on the box:
- Plex: The core media server for movies, shows, music, and live TV.
- Linux ISO management: A small set of apps for downloading and organizing Linux ISOs in their own isolated containers.
- Kometa and Maintainerr: Automates collections, overlays, and library cleanup rules so I do not have to babysit storage.
- Tdarr: Re-encodes media to AV1 in the background to save disk space.
- Dispatcharr: Emulates an HDHomeRun tuner with an XMLTV guide so live TV feeds cleanly into Plex.
The Real Payoff
Moving from bare-metal Ubuntu to TrueNAS and Docker took the dread out of server maintenance. Instead of worrying about an OS upgrade taking down my media server, I have ZFS snapshots protecting my data and portable containers that I can tear down or move in minutes. If you are still running everything directly on one Linux box, spinning up Docker on a dedicated NAS is one of the best upgrades you can make for your own sanity.