this post was submitted on 22 Nov 2023
2 points (100.0% liked)

Self-Hosted Main

21 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I'm planning to use my Pi for a few small services and nothing else. Currently it has my VPN and apcupsd installed directly, and I want to add Grafana, Prometheus and Uptime Kuma to it.
I was going to install Docker to use the last three, but ultimately, is it really needed? I won't be using the system for anything other than these purposes, and I just plan to set them up then almost never touch it again. Once it's set up I'm cloning the SD card too, so I don't need the centralized folder structure of Docker either.
And I'm already using Docker pretty heavilly on another server, so I don't need another environment to learn on either.

So with all that, is it worth installing Docker on my Pi to run these services? Or should I save a small amount of storage and processing power by just installing them direct to the system?

top 5 comments
sorted by: hot top controversial new old
[–] IWishIHavent@alien.top 1 points 1 year ago

I use Docker on my Pi for one simple reason: management. While it's true that some services are set and forget, there will be times when you will need to check on a particular service's health, and Docker makes it a little easier by having each service on it's own environment. You can restart every service individually with ease, and even nuke something if needed without wrecking the whole system.

I use Portainer, and everything on Docker inside it.

[–] Eirikr70@alien.top 1 points 1 year ago

It is up to you. Using Docker makes it easier for administration and evolution, but bare metal is sufficient if you are comfortable with it (which every self-hoster should be).

[–] JASN_DE@feddit.de 1 points 1 year ago

If you're already familiar with it and can maybe even reuse some compose files, it's definitely worth it. Even on a Pi.

[–] Diplomjodler@feddit.de 1 points 1 year ago

I just installed paperless-ngx on my Pi with Docker. I read the instructions on doing it bare metal and thought "Nope!" So yeah, it can save you some work.

[–] Comprehensive_Round@alien.top 1 points 1 year ago

Yes. Using docker is not like running your services inside VMs. It's a pretty lightweight way of structuring your services, with the host kernel shared by all instances.

I run everything in Docker on my RPi 4 and it works very well.