RPi4 - adequate docker performance?

Hello,

I’m thinking of transferring my Docker instance from my (older) Synology Diskstation DS716+II to my RPi4 and I’m wondering if the performance is sufficient for this? For me, it is the easiest way to transfer the data and functions

Hardware:
RPi4 4GB + external 256GB SanDisk SATA SSD (Inateck enclosure with ASMedia controller)

Software

  • DietPi 9.7.1 (aarch64)
  • Docker
  • Docker-Compose
  • Portainer-CE

Planned containers:

  • acme.sh (I know, a simple script…)
  • AdGuard Home (10 filter lists, up to 18 network clients)
  • Unbound
  • Grocy (2 users)
  • Baikal (2 users)
  • Vaultwarden (2 users)
  • Watchtower

Is the performance sufficient for this? Alternatively, I could also implement this natively via “dietpi-software”, only “grocy” requires Docker. However, Compose and Portainer could be omitted for this.

Looking forward to your feedback. :slight_smile:

Regards,
Oliver

The RPi4 has more memory compared to the Synology and the CPUs are slightly better, so I don’t think you’ll be facing any issues. From the containers that you listed, only the DNS ones seem to be needy for resources, but the amount of users is rather small.

Thank you very much for your assessment.

PS: I always realize which information could have been helpful :wink:

I have upgraded my DS to 8GB RAM.

Does it ultimately matter whether I prefer Docker or the native installation?

As an addition, I currently only have the RPi4 running with DietPi and AdGuard/Ubound as a native installation, the other Docker containers on the DS.

I played around a bit with Docker on the Raspi and noticed that access to the data containers is faster than on the DS (probably due to the SSD), but Internet traffic feels slower.

It runs more smoothly on separate systems.

PS: a look into the future, should Synology bring out new diskstations with the latest hardware and NVME slots, the cards would be reshuffled. Until then, I’ll hold on to my “old girl” (as a storage solution). :wink:

There are some pros and cons on this question. Of course docker has some benefits like spinning up new apps quickly and without a need to deal with dependencies. On the other hand side, you will have an additional layer of complexity. Docker engineer will require additional resources and will become a single point of failure. Especially for small apps like AGH, it’s quite some overkill.

Okay, I just wasn’t sure whether it makes sense to install all the desired applications natively and only docker because of grocy.

For the sake of simplicity, I’ll test the docker variant first and can then post some necessary data, for example htop or free -m, to get a better idea of the overall picture.

So, the test installation is running successfully. Here is a screenshot for evaluation purposes.

free -m: ~3.2000MB (after reboot)