You don’t have to use a lot of money on expensive hardware or spend hours manually configuring your server. Using Docker, you can stream your media, block ads and store your files all from one web page. In this guide, free tools that are commonly used in business are installed to make a home server in Ubuntu.
In just a few minutes you will learn about the difference between containers and virtual machines, how to install Docker and how to add new apps. It can be run on an old PC, including a Raspberry Pi.
Containers vs. Virtual Machines
The following two tips are useful to know before you begin:These are the two primary methods for running apps on a server:
Virtual machines (VM) are complete computers that run inside your computer. It uses up memory and processing power as it has its own operating system.
A container is much lighter than this. It contains only one app and just the bits of that app that it requires. Containers run on the same operating system and boot up quickly, coming up almost at full speed. For home servers, it’s the container who is better for leaving more power for your apps.
Getting Started: Ubuntu and Docker Setup
There are ready-made containers for nearly any app, as Docker is the most popular container tool. It is best suited for Linux and we recommend using Ubuntu. Docker is available for Windows, but more difficult to install.

- Download an ISO file of Ubuntu from the official site.
- Write it to a memory stick using a free program such as Rufus.
- Install Ubuntu on Server machine. When asked, add the SSH and Samba options. Once the server is securely hidden in a cupboard, SSH will help you to control the server from another computer.
- Install Docker according to the latest official Docker guide. Don’t use old tutorials as commands change over time.
- Run the hello-world container to see if it works.
Running Your First Container
If the test is successful, then Docker is ready. Docker can download an app from Docker Hub with a single command and then start the app. You can for example start the OwnCloud file server like this and open it in your browser. No lengthy installation. If you don’t like the app, no one will be left behind, as you just delete the container.
Managing Multiple Apps with Docker Compose
It’s very simple to run one container. Five is too many to run. Docker Compose resolves this issue.
You make one text file, called docker-compose.yml, that specifies all of your containers and their configuration. Compose then begins to play them all together.
The first is Pi-hole, which is a blocker for ads throughout all your home network. Your file names the container, references the Pi-hole image, references the address of your server and opens the right network ports. Copy, modify a couple of lines and execute it as on Pi-hole’s page.
Read Also: Growth Navigate Funding: The Quiet Strategy Behind Faster Startup Growth
Best Apps to Run on Your Home Server
Here are some great suggestions to get you started:

- File storage: Have a private cloud drive with Nextcloud or OwnCloud. If you want something simpler, you can use an SFTP or Samba container that makes your server a simple network drive.
- Media: Plex is our top pick for streaming films, music, and photos around your home. Plex requires more power to convert video than most apps.
- Ad blocking: Pi-hole blocks ALL ads across all your devices.
- Download and sharing: Deluge is used for download and sharing of torrents, while Pydio can be used to store files online easily.
Easier Container Management with Portainer
It becomes tedious to type commands as the number of containers increases. Portainer provides you with a web dashboard with which to start, stop and add containers with a couple of clicks. Netdata displays live graphs and alerts which will allow you to identify problems early for health checks.
Can a Raspberry Pi Work as a Server?
Yes, but not too much and not too soon. The Raspberry Pi is inexpensive and power efficient. Suitable for light tasks like ad blocking, torrents or file storage. However, it has a hard time running a number of heavy apps simultaneously, making it not suitable as an all-purpose server.
Final Word
Setting up a home server isn’t as difficult as most people make it out to be. There are a number of free applications and an old PC can stream your media, block ads, and store your files with Ubuntu, Docker. Work slowly, install an app at a time and keep it organized with the help of Portainer. After the initial container starts, the second one can be added within a few minutes. It’s now time for you to construct it.
FAQs
1.Is it better to have a powerful home server?
No. Most apps are capable of running on a relatively low end board, such as the $35 board. If you’re converting video files with Plex, you’ll need a more powerful processor.
2.Why Docker vs Virtual Machines?
Docker containers are fast and easy to start up. A VM hosts an entire OS and a container only the app and its requirements. This means more power for your apps.
3.Which operating system do you prefer to use Docker?
It is recommended that you use Ubuntu (or another Linux system). Docker is more mature on Linux compared to Windows and Ubuntu has various guides and communities with help.
4.What can I connect to my home server?
Commonly used are Plex (for media), Pi-hole (for ads) and Nextcloud / OwnCloud (as a file server). Make changes to apps in containers in mere minutes without disturbing other apps.
5.Is a Raspberry Pi good enough for a server?
It is suitable for light tasks such as torrents, file storage or ad blocking. When compared to a few demanding apps running concurrently, it’s a not very good all-purpose server.
Read More: Why Use Fidzholikohixy? 7 Honest Reasons Worth Your Time
