Nextcloud with Dietpi, LXC or Docker

there are many discussions to this topic on this forum and the same has been sad often: each technology might be better suited to specific scenario, there is no general “preferred” way to host Nextcloud.

My personal recommendation is to choose the method you know best so far or if you start from scratch choose the one you can understand best with your existing skill set. Be aware of all related technologies 101: Self-hosting information for beginners and know how to address the issues using your preferred installation method.

some interesting points are here:

and like always use search many question have been discussed already!