Create Custom LXC Templates on Proxmox
How to run create custom LXC templates on Proxmox and deploy containers from them.
The video is part of a Proxmox PVE Nested Virtualization home lab series, where we will be building out a lab environment to test Proxmox no subscription features and functionality.
Since Broadcom’s acquisition of VMware, many customers are looking elsewhere for their virtualisation requirements – this video shows what you need to do to get started with LXC templates on Proxmox.
In this video, using LXC containers we have already set up, we explore the options to create custom templates from them on Proxmox, and how to deploy new containers from the custom templates.
We look at:
Customising the image.
Making a cow say “woof”.
Cloning a container.
Creating a local template.
Deploying from the local template.
Why the local template may not meet your security requirements.
Creating a backup of a container using vzdump.
Renaming the backup into a more container image appropriate name.
Deploying from the backup image.
Talk about what you would need to do to deploy this to another environment.
The custom backup commands used are:
vzdump [ctnumber] –mode stop –compress gzip –dumpdir /var/lib/vz/template/cache
cd /var/lib/vz/template/cache
mv [backupname].tar.gz [newtemplatename].tar.gz
Customise the values in the [square brackets].
Follow @HouseofLogicBlog or visit for more tutorials and articles.
[ad_2]
source