How to? Single execution containers

If there’s a documentation page for this, I apologize for missing it (please point me there.)

Currently, the containers I have are based on the proxmox templates for debian standard, meaning they are full debian systems. If I want a container that runs a webpage, I create a “debian standard” template, run “apt install nginix”, ensure systemd starts up nginx, etc.

Is there a way to set up a proxmox-based linux container to run a single program and have the container terminate when the program terminates? I don’t want or need a full linux distribution to start up. Using my above nginx example, I just want enough to run nginx (and whatever dependencies my web pages might have) and the container should be centered around that.

Thank you

Read more here: Source link