Nethserver in Proxmox LXC Debian template container?

I am an undergraduate student and I am developing a research project to make (LXC) Containers available on (PROXMOX) for other undergraduate students.

The objective is to create a (LXC) Container template in (PROXMOX) with (Nethserver 8) installed by default so that students can use it in computer networks and Internet Systems graduation.

It will not be used in production, only for study.

So that students can use the benefits of the Nethserver 8 interface and its easy-to-understand tools.

Is it possible to carry out this implementation in (LXC) Containers in (PROXMOX) and satisfactorily use the database and local web server services?

Is the nethserver installation process the same as the documentation?

I need to implement it in Debian.

I know that it works on the VM.

It needs to be LXC, because it needs to be lightweight and quick to implement.

The containers made available will be managed by me using the university’s structure, only providing access to the container via ssh or web interface.

If you use a VM instead of an LXC, you will be satisfied.

1 Like

One of the project’s requirements is that it needs to be a container, if this is not possible, I will not use nethserver and will need to configure everything manually.
The idea behind nethserver is the web interface and the easy installation of basic applications for learning.

NS8 apps like mail server or roundcubemail are containers based on podman.

Using an LXC for NS8 didn’t work, see also Nethserver 8 inside a Proxmox LXC Debian Container? and Podman in LXC - what do overlay "not support file handles" and "conflicting options: userxattr,metacopy" mean? | Proxmox Support Forum

I found that it may work using ZFS but I never tested, see also Podman on LXC with ZFS backed volume and Overlay | Proxmox Support Forum

There are also pre-built images to deploy on Proxmox, see also Installation — NS8 documentation

1 Like

And it is precisely these that will run poorly or not at all in a container. Especially if there is also a database involved, such as with Nextcloud or Webtop. I tried this myself once and failed.

1 Like