Nextcloud with Dietpi, LXC or Docker

Hello, i want setup nextcloud with dietpi, is it better to run Nextcloud with a LXC container on Proxmox, or using docker, or using LXC and Docker together? Thx for answering.

Hi,

I’m running Nextcloud AIO on my own Proxmox server, and based on my experience, I’d recommend the following setup:


Recommended Setup

  1. Use a Virtual Machine (VM) on Proxmox

    • Install Ubuntu 24.04 as the base OS.
    • Use the XFS filesystem (avoid ext4, as it may not handle heavy workloads as efficiently in this context) and 4-8 GB swap.
    • Allocate sufficient resources to the VM for smooth operation (e.g., RAM and CPU based on your usage needs).
  2. Enable Memory Ballooning on Proxmox

    • In the Proxmox VM settings, enable ballooning under memory management.
    • This allows dynamic memory allocation, optimizing resource usage for your Nextcloud instance.
  3. Run Nextcloud AIO (All-in-One)

    • AIO simplifies management and updates, making it an ideal choice for most users.

Why I Recommend This Setup

  • Virtual Machine over LXC: While LXC containers are lightweight, a VM provides better isolation and flexibility, especially for a critical application like Nextcloud.
  • Docker Simplifies Deployment: Using Docker inside the VM (via AIO) ensures consistent updates and easy configuration without dealing with manual installations.
  • Proxmox Compatibility: This setup is robust, aligns well with Proxmox’s features, and is ideal for hosting Nextcloud long-term.

Final Thoughts

If you want simplicity, stability, and good performance, this setup is highly recommended. Let me know if you need guidance on setting it up!

Tony

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!

Thank you i will try your solution, but i will use the Dietpi ISO and run Nextcloudi in a Proxmox VM, because i like Debian.

1 Like

This topic was automatically closed after 90 days. New replies are no longer allowed.