Which LXC container templates to use on Proxmox VE and why it matters
A team creating containers on Proxmox VE needs a base template that matches the distributions it already supports, the way it patches systems and the upgrade path it expects to follow. A system template is a prepackaged root filesystem that Proxmox VE unpacks into a new container. Unlike a VM install, there is no installer, no bootloader and no kernel inside the guest. The container shares the host kernel, so the template only carries userspace: the C library, package manager, init system and the services you add. That shared kernel is why the template choice matters less for hardware compatibility and more for package lifecycle, security updates and the userspace that your applications depend on.
The template also shapes how you patch. Each distribution has its own release cadence, package manager and support window, and a container built from an old template will keep receiving whatever updates that release still gets. Before standardizing, check which distribution releases your security team accepts, how long each one receives security fixes, and whether your patch tooling can reach containers that are stopped or in backup. Confirm the current template list and its versions in your own environment, since the set of downloadable templates changes over time and the Proxmox VE documentation is the reference for what your host offers.
Template choice also affects the next Proxmox VE upgrade. Proxmox VE 9.0 moved to Debian 13 on August 5, 2025, and Proxmox VE 8 on Debian 12 reached end of life in August 2026, so a template family you standardize on today may need to be rebuilt or replaced on a different timeline than your hosts. Pick a small set of templates, record the release each one is based on, and document a rebuild step for each. The Proxmox VE FAQ explains how the support window follows the matching Debian release, which helps you plan the dates.
Template source options and when each fits
This table compares downloading a system template from the Proxmox VE template repository, building a custom template, and cloning or converting an existing container. Read each column against your patch ownership and golden image process, then confirm the open items with Proxmox or in the administration guide before you commit.
| Factor | Download a system template | Build a custom template | Clone or convert an existing container |
|---|---|---|---|
| Effort to start | Low: pick a listed distribution and download it to a storage that accepts templates | High: build the root filesystem, add init and service setup, then test boot and networking | Low to moderate: clone a working container, but the clone inherits its drift and its configuration |
| Who maintains patches | Proxmox publishes the template; you still patch packages inside each running container | Your team owns every package update and rebuild of the image | Your team owns it, and patches diverge once a container is changed in place |
| Fit with a golden image process | Useful as an upstream input, but the template is not your versioned artifact | Strongest fit: versioned, rebuilt on a schedule and tested before release | Weak fit: clones are hard to trace to a tested source and are hard to reproduce |
| systemd and init requirements | Confirm the template's init system and systemd version match what your services need | You set the init system and systemd version, and must test the services that depend on them | Inherited from the source container, so check it still matches your current needs |
| Confirm before relying on it | Which distributions and releases the repository lists, and the support window for each release | Build tooling and template format expected by your Proxmox VE version in the administration guide | Whether the source's storage and mount points copy correctly and how the source is backed up first |
How a template moves from download to a running, patched container
The path starts when you choose a distribution and either download a system template or build a custom one. The template is then stored on template-capable storage on the Proxmox VE host, and a container is created from it. Patching happens in two places: the Proxmox VE host updates its own packages, while the container's own package manager updates the guest. Templates are refreshed on a schedule, so new containers do not start from an old image. Check who owns each update step before you rely on the template.
Who patches what: the host updates templates, the container's package manager updates the running guest.
Choosing a distribution by audience and lifecycle
Production containers need a distribution that receives security updates for as long as the service runs. Proxmox VE ties its own support window to the matching Debian release, which has Debian security support for roughly three years. A template built on a Debian release near the start of its window gives your patching team the most time before a forced rebuild, so the template choice should be made with the service's expected life in mind, not only the version that is newest today.
- Check the window first: Note the Debian security end date for the release behind each candidate template before you approve it.
- Pin one standard template: Use one approved base per Proxmox VE major version so patching and evidence collection stay manageable.
- Plan the rebuild date: Record when each template reaches end of support and schedule the rebuild before that date, not after it.
- Keep the host in step: Proxmox VE 8 on Debian 12 reached end of life in August 2026, so hosts and containers on that line need an upgrade plan of their own.
- Use the enterprise repository: Production hosts should run on the enterprise repository with a valid subscription key, as the package repositories documentation recommends.
Before committing, confirm the current support status and template availability for each distribution on the Proxmox VE wiki and in the vendor's own lifecycle documentation.
Test and lab environments value speed of iteration over long-term support. A lab can use the newest available template to match developer laptops, CI images or the next release of a service, and it can be rebuilt without a formal change process. The risk is that lab habits drift into production, so the lab should be clearly separated and labeled from the start.
- Match the target: Pick the distribution your production images will use later, so the lab tests the same package versions and systemd behavior.
- Expect rebuilds: Treat lab templates as disposable and keep the build steps in version control so a rebuild takes little effort.
- Use the no-subscription repository: The freely accessible no-subscription repository suits testing and non-production use, according to the package repositories documentation.
- Label the environment: Tag lab guests and templates so no one mistakes them for approved production images.
- Test the upgrade path: Use the lab to rehearse moving a service to a newer template before the production window closes.
Before relying on a lab result for a production decision, confirm that the template and Proxmox VE versions in the lab match production, and check the current status of each distribution on the Proxmox VE wiki.
Some teams run an application that only works on an older distribution, often because a vendor certified it there or because a dependency has not been ported. The support window still applies. An older Debian-based template may have reached the end of its security support, which means the container needs compensating controls and a retirement plan rather than an open-ended extension.
- Document the dependency: Record which package, library or vendor certification forces the older distribution and who owns that decision.
- Isolate the workload: Place the legacy container on a restricted network segment with limited firewall access, since its patches may lag behind.
- Assess the risk in writing: Ask the application owner and security team to sign off on the residual risk and its review date.
- Plan the exit: Set a target date to port the application to a supported distribution, and treat that date as a project milestone.
- Consider a VM: If the legacy stack needs its own kernel or init behavior, a KVM virtual machine may be a safer home than a container.
Confirm the exact end-of-support date for the older release and whether the vendor still supports the application on a newer one, using the Proxmox VE wiki and the vendor's documentation.
Downloading a system template and creating the first container
This sequence takes a Proxmox VE host from a confirmed version and repository setup to a running container with an address and current packages. Each step ends with a check you can run, so the result is a container you have verified rather than one you assume works.
Confirm the Proxmox VE version and repository access
Log in to the node as root, or as an administrator with equivalent rights, and run
pveversionto record the installed Proxmox VE release. Check that the node can reach the repository you intend to use by runningapt-get updateand reviewing its output for errors. Confirm the release is still receiving security support by checking it against the Proxmox VE FAQ. Done means the version is recorded, the update run finishes without repository errors, and the release is one your organization supports.Choose the repository for the environment
Proxmox VE offers an enterprise repository that requires a valid subscription key and is the recommended choice for production. The no-subscription repository is freely accessible and is suited to testing and non-production use. Decide which applies before you download anything, because your patch path for templates and host packages depends on it. Check which repository file is enabled in
/etc/apt/sources.list.d/and confirm the choice with your subscription holder or procurement team. Done means you can name the active repository and state whether it fits production use. The Proxmox package repositories wiki explains the files and keys involved.Refresh the template list from the repository
Run
pveam updateto refresh the list of available appliance and system templates from the configured sources. Then runpveam available --section systemto list the system templates that the repository offers for your release. Pick the distribution and release your team has agreed to support, and note its exact template file name, because the name changes as new builds are published. Confirm the target storage can hold templates by runningpvesm statusand checking that the storage listed for templates is active. Done means the chosen template name appears in the list and the storage is available.Download the chosen system template to storage
Run
pveam download <storage> <template-file-name>, replacing the placeholders with your template storage and the exact name from the previous step. The download places a compressed root filesystem archive in the storage's template directory. Confirm the file is present withpveam list <storage>, which should show the template with its size and checksum-based identifier. Keep the template name in your build notes so the same image can be reproduced later. Done means the template appears in the storage listing and the download finished without errors.Create the container with privilege and resource settings
Choose a unique container ID and run
pct create <vmid> <storage>:vztmpl/<template-file-name>with the options your design calls for. Set--unprivileged 1unless you have a documented reason for a privileged container, and set hostname, memory, cores, root disk storage, and a network interface on a bridge that your VLAN design expects. Record the choices in your runbook, because privilege level is hard to change later without rebuilding the container. Done meanspct config <vmid>shows the privilege flag, resources and network settings you intended.Start the container and confirm its address
Run
pct start <vmid>and thenpct status <vmid>, which should report the container as running. Open a console withpct enter <vmid>or run a single command withpct exec <vmid> -- ip -4 addr show eth0, which should list an IPv4 address from your DHCP scope or the static address you configured. Check that the container resolves a name and reaches your gateway. Also runpct exec <vmid> -- systemctl --versionto confirm the init system is present and functioning. Done means the container runs, has the expected address, and reports a working systemd version.Run package updates inside the container
Inside the container, run the package manager for the distribution you chose, for example
apt-get updatefollowed byapt-get -y upgradeon a Debian-based template. Confirm the update can reach its mirrors through your firewall and proxy rules, which is often where first-time problems appear. Review the output for errors from services or locale settings and resolve them before you treat the container as ready. Done means the update and upgrade complete without errors andapt-get -s upgradereports nothing left to install. Record the date and package state so the baseline is traceable.
Building a custom template without losing the upgrade path
A custom LXC template is worth its maintenance cost only when the same content must appear in every container and no stock template or configuration management step can deliver it reliably. Typical reasons are a standard hardening baseline, a monitoring or endpoint agent that must be present before a container first joins the network, or a fixed package set that auditors or application teams expect on every system. If the requirement can be met with a stock template plus a provisioning playbook run after creation, that is usually the cheaper path. Before committing, list each item the template must contain, note which ones change often, and decide who owns rebuilds when the vendor or the agent publishes an update.
Every build should record the base distribution version it was created from, in the build definition and in the template's name or metadata, so anyone can tell which Debian or Ubuntu release a container inherited. Give each image a version identifier tied to the build date and the base release, keep the build inputs (package lists, scripts, agent versions) in version control, and mark old versions as retired once no container still depends on them. Retirement should have a stated rule, such as removing an image after its last container has been rebuilt or migrated, so that old templates do not linger in storage indefinitely. Check the Proxmox VE documentation for the supported template format, the build tooling and the metadata fields it expects, since these details change between releases.
A custom template must be rebuilt when its base distribution changes, because the package manager, libc, init system and default configuration files all come from that base. Upgrading the Proxmox VE host does not upgrade the templates it created, and a container cloned from an old base keeps the old userland until it is upgraded or replaced. Plan a rebuild cycle that follows the base distribution's release and security support timeline, and test each new image in a non-production container before promoting it. Confirm with the Proxmox VE documentation which systemd and kernel interface requirements apply to the release you target, because a template that works on one base may fail to boot or lose functionality on another.
Systemd and init checks to run before standardizing a template
A template is only as useful as the init system and services inside it, and those behave differently in an unprivileged container than on a VM. The checks below cover what to test on a candidate template before your team builds other containers from it. Confirm each behavior on your own Proxmox VE version, because container init and service behavior depend on the template's systemd build and the host kernel.
Systemd version and container features
Confirm which systemd release the candidate template ships and whether it supports the container features your workloads need, such as nesting or keyctl. Check the template's systemd release notes and the Proxmox VE container documentation for the features that the host kernel and LXC release support. Record the pairing of template, host and feature set, because a template that boots cleanly on one release can behave differently after a host upgrade. Ask the template provider which systemd versions they have tested with your Proxmox VE release.
Proxmox VE FAQInit behavior in unprivileged containers
Boot the template as an unprivileged container and confirm that PID 1 starts, reaches the default target and shuts down cleanly on pct stop and pct shutdown. Watch for units that try to remount filesystems, change the hostname or load kernel modules, since those actions fail under user namespace mapping. Run systemctl is-system-running and review systemctl --failed after boot. Ask the template maintainer which targets and generators are disabled inside containers.
Service units that need privileged operations
List every enabled unit in the template and flag those that need capabilities the container lacks, such as raw sockets, device access, cgroup writes or kernel tunables. Test each flagged service in a non-production container before standardizing, because a unit can fail silently and leave a service half-started. Decide whether the workload moves to a VM instead, or whether a capability or feature is granted deliberately with a documented reason. Keep that decision in the template's change record so later builds do not inherit it by accident.
Journald and logging inside the container
Check where the template writes its logs and whether journald persists them, rotates them and respects size limits. Confirm that the logs are visible from the host or forwarded to your central log platform, since a container's journal may be lost when the container is recreated. Verify that log paths do not collide with bind mounts or shared storage that other containers use. Ask the template maintainer whether journald runs by default and how the image handles log retention for long-lived containers.
Time synchronization
Confirm how the container gets accurate time, because the host clock is shared with every container and the template may run its own time client. Test whether the chosen time service starts inside the container and whether it tries to set the clock, which an unprivileged container cannot do. Check that certificate validation, Kerberos and log correlation still work after a reboot and after a host migration. Ask the host administrators to confirm the time source they use for the Proxmox VE nodes so the container and host agree.
Keeping templates patched across the container fleet
Patching LXC containers on Proxmox VE is two separate jobs, and teams that treat them as one end up with either stale containers or stale templates. Patching a template changes what future containers start from. Patching a running container changes one container that already exists, using the package manager inside it, such as apt on Debian-based templates. Neither job updates the other. A template refreshed last quarter still produces containers that need the same package updates on day one, and a container patched yesterday still carries whatever the original template contained. Plan a recurring cycle for both, and record which template version each container was created from, so you know which containers inherit a fix only after you patch them directly.
Tracking that lineage is the part most fleets skip. Proxmox VE does not give you a reliable, built-in answer to "which template was this container created from?" once the container has been running for a while, so keep the source template name and build date in your own inventory, alongside the container ID, owner and hostname. Use a tag or description field on each container for the same purpose if your team reads those fields during reviews. When the host moves to a new Proxmox VE major release, this inventory becomes the basis of the rebuild plan: decide which containers are rebuilt from a fresh template on the new release, which are upgraded in place, and which are retired. Confirm the supported template list and the Debian release each Proxmox VE major version targets in the Proxmox VE FAQ before you schedule that work.
Backups change the picture because a restore brings back the container as it was on the backup date. A container restored from an image taken months ago returns with that older package set, and it will not pick up patches applied to the current template. Treat every restore from an older backup as a patching event: run the package updates inside the restored container, check its systemd version and any services against your current baseline, and then return it to the network. Decide in advance whether restored containers are patched in place or rebuilt, and test one restore per template family before you need it in an incident.
Security considerations for template images and container bases
A container template is a root filesystem you will run in production many times over, so its origin, contents and handling carry risk for every container built from it. The cards below cover where templates come from, what they ship with, how they are stored and who can change them, and the records that show a template was approved.
Verify template sources and checksums
Templates should come from a source you can name, and the file you download should match a published checksum before it is stored or used. Record the source URL, the checksum and the date of download for every template. Ask who signs or publishes the checksum and whether the mirror you use is the same one the distribution documents. A checksum mismatch is a stop condition, not a retry.
Proxmox VE FAQRemove default credentials and baked-in keys
Base images sometimes contain default passwords, locked accounts with known keys, or SSH host keys shared by every container cloned from them. Each clone then trusts the same identity, and anyone with the template can log in. Inspect the template for passwd entries, authorized_keys files and host key files before approval, and confirm that first boot generates new host keys and that no default password is usable.
Keep package sets minimal
Every package in a template is attack surface and patch work that repeats for each container. Start from the smallest base the distribution offers and add only what the workload needs, such as an SSH server only where administrators require it. Compare the installed package list against the list approved for that distribution release, and treat extra compilers, debugging tools or network utilities as findings to justify.
Separate template storage from production data
Templates are shared inputs, so they should live on a storage location that holds no production volumes, backups or application data. Mixing them invites accidental overwrites and makes it unclear which copy is authoritative. Confirm which storage pool holds templates, which users can write to it, and that container disks created from a template do not share a writable base with another tenant's data.
Restrict who can create and change templates
Creating, modifying and replacing a template changes what every future container contains, so this permission should be narrower than the permission to create a container. Review which administrator roles and API tokens can upload, convert or delete template files, and remove standing access from people who no longer maintain the image. Ask your platform team to show the role assignments that grant these rights.
Keep evidence for each approved template
When a template is approved, keep a record that an auditor or incident responder can read later: the source and checksum, the approval date and approver, the package list, the patch level at approval, and the scan or review results. Store the record next to the template and tie it to a version identifier. Without this record, you cannot show which containers came from an unreviewed image.
What teams ask before running container templates in-house or with a partner
What does container template work cost and what drives the effort?
The cost comes mostly from labor: the hours needed to choose distributions, build or download templates, test them against your workloads, and keep them patched over time. Costs rise with the number of distributions you support, the number of custom package sets, and how many application stacks must be tested on each template. Template downloads themselves are not a major cost driver. When you request a quote, ask for the effort split between one-time standardization and recurring rebuilds, and ask which distributions and test cases are in scope. Proxmox VE subscription pricing is separate and is set per CPU socket per year, according to the Proxmox VE pricing page.
How long does initial template standardization take?
The duration depends on how many distributions you standardize, how many containers depend on each one, and how much custom configuration each template needs. Time is also lost to approvals and to waiting for owners to confirm which package versions and services must be present. Teams with a short list of distributions and clear owners usually finish faster than teams that try to standardize every template in use at once. Ask any partner for a written timeline tied to a named list of distributions, and confirm which testing is included before work starts.
What does the work need from our team?
Expect to provide access to the Proxmox VE nodes or a staging cluster, a registry or storage location for templates, and a change window for rollout. You also need a named owner for each distribution who can approve package baselines and confirm application requirements. Security or compliance reviewers should agree on the patch cadence and evidence they expect. Without these inputs, template work stalls at the approval step, which is the most common cause of delay.
Can our internal team maintain templates without a partner?
Yes, if the team has Linux packaging skills, a test environment that matches production, and time for recurring rebuilds. Teams often succeed by starting with one or two distributions and documenting each build step so another engineer can repeat it. The main risks are uneven patching, drift between templates, and no one owning the systemd and kernel-facing details when a distribution changes. Ask whether the in-house team has someone responsible for each distribution and whether that person has time reserved for the work.
How often should container templates be rebuilt?
Rebuild frequency should follow the security update cadence of each distribution and your own change policy. Many teams rebuild on a fixed schedule and also after any critical security advisory that affects packages in the template. Each rebuild should be tested against the workloads that use it before rollout, and existing containers should be updated through a controlled process rather than replaced silently. Confirm the rebuild schedule and the rollback method in writing, along with how security advisories are tracked for each distribution.
What changes at the next Proxmox VE major upgrade?
Major upgrades change the Debian base under the host, and templates that depend on host-side behavior, especially around systemd, may need retesting. Proxmox VE supports each major version at least as long as the matching Debian release has security support, which the Proxmox VE FAQ describes. Before a host upgrade, check that each container template still boots, runs its services, and passes your tests on the target version. Keep a list of container features that depend on host settings, and plan the test window before the upgrade date is fixed.
What systemd version requirement should we check for templates?
The systemd version a template needs depends on the distribution and on the host kernel and Proxmox VE release. Confirm the systemd version inside each template and compare it with the Proxmox VE documentation for the host release you run. Pay attention to unit behavior, journald settings and any service that expects features the host does not provide. Record the result in your template baseline so that engineers can see which distributions were verified on which host version.
Limits to confirm in your environment before you standardize
A template standard is only as good as the assumptions behind it. The items below are the points where a container template choice can quietly stop working, whether because a release has moved on, a distribution is no longer supported for your Proxmox VE version, or a repository is not licensed for production use.
Current template list and support status
The set of downloadable system templates changes over time, and the list you tested last quarter may not match what your nodes show today. Confirm which templates your Proxmox VE version offers, which release of each distribution they carry, and whether the template maintainer still publishes updates for it. Record the template name and version in your standard so an installed container can be traced back to its source.
Proxmox VE FAQDistributions supported for your version
Support for a guest distribution is tied to the Proxmox VE release you run, and Proxmox VE itself follows the Debian release underneath it. Check which guest distributions are listed as supported for the exact Proxmox VE version in your plan, and do not assume a newer template will behave on an older host. Plan the upgrade path for your host before you commit a distribution to a long-lived standard.
- Debian 13 base
- 9.0
Privilege level and feature compatibility
Some distributions need features such as nesting or keyctl before their services start, and those features change the security posture of an unprivileged container. Test each template you plan to standardize at the privilege level you intend to run, with the same features enabled. A template that boots as privileged may fail as unprivileged because of user namespace mapping, so record the tested combination, not just the template name.
Systemd and init requirements
Container templates depend on a systemd version that works with the host kernel and the LXC runtime. Confirm the systemd version inside each template, check how it handles the container's cgroup and device setup, and test service startup, journal access and networking after a reboot. Templates built from an unsupported or stripped init may need changes that you then have to maintain yourself.
Storage, replication and template placement
Templates are stored on a chosen storage type, and not every storage supports templates, container root volumes or replication in the same way. Confirm which storage on each node holds your templates, that every cluster node can reach the same template, and that the storage you pick supports the migration and backup behavior you expect. Where storage differs between nodes, a template standard can fail during restore or move.
Repository access and end-of-life dates
Production hosts should use the enterprise repository, which requires a valid subscription key, while the no-subscription repository suits testing and non-production work. Confirm which repository each node uses before you patch templates, and check the end-of-life date for every distribution already running in containers. A container on an unsupported release keeps running, but it no longer receives security updates, so it needs a dated replacement plan.
Package repositories wikiHow DeployOpen scopes and delivers container template work on Proxmox VE
DeployOpen plans, builds, documents and supports LXC container templates on Proxmox VE inside your own infrastructure. Each engagement starts with a written scope that names the distributions, template sources and patch cadence you need, then moves through build, testing and handover.
How we scope
- Written scope lists the distributions, releases and template types you need before any build starts.
- Scope records which Proxmox VE release and Debian base your hosts run, so template choices match them.
- Scope names your template source, whether official downloads, a mirror or custom builds, and who approves changes.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.
How we build
- Templates are built from a documented recipe so each image can be rebuilt and checked the same way.
- Build work checks systemd and kernel compatibility against the container features your workloads need.
- Custom templates are tested as unprivileged containers first, with privileged exceptions recorded and justified.
- Patched base images are tested in a non-production environment before they reach production clusters.
How we hand over
- Handover includes the template build recipe, version pins and a record of every package and repository source.
- Runbooks explain how to download, clone and retire templates, and how to confirm a template's release status.
- Your team receives a patch procedure covering rebuild triggers, test steps and rollback to the previous image.
- Documentation states what you must confirm yourselves, such as vendor support windows and your own compliance evidence.
How we support
- Ongoing support is available as a retainer, covering template rebuilds, patch cycles and distribution release reviews.
- Retainers can include planning for Proxmox VE major upgrades when the underlying Debian release changes.
- Scheduled reviews check which templates are approaching end of support and propose a replacement plan.
- Support requests are handled against the written scope, with changes priced and approved before work proceeds.

