[SOLVED] Download templates LXC containers

hi,

we don't use openvz for containers anymore, we use lxc.

you can use our tool pveam to fetch templates, or you can go to http://uk.images.linuxcontainers.org/images/ and get the rootfs from there and create a new CT with it.
 
Apologies for the newbie question. Only just discovered Proxmox on my new journey for a home lab.
When downloading these images are they just a small Linux environment and it is up to me to install the app I want to run in it. So for example if wanted to host a Gitea in a container and downloaded the https://images.linuxcontainers.org/images/debian/bookworm/amd64/default/20230714_05:25/rootfs.tar.xz file, I would load that as my container, install Gitea and done?
I only ask as I tried the gitlab one from the provided list by turnkey but it was never stable (and probably overkill for my needs, it's so RAM hungry).
 
you would download it to the storage you have enabled for container templates
/mnt/pve/<storage>/template/cache

rename rootfs.tar.xz to be the name you want for the template ie debian_bookworm_20230714.tar.xz

you can then use it as a container template as normal.
 
Last edited:
  • Like
Reactions: Trozpent
In testing for a new version noble 24.01. The version with bug's of PVE 8.2.4, of update.
Is very gooooddd, @UdoB !
 
Last edited:
  • Like
Reactions: UdoB
Isn't tarball the only available method to deploy an lxc in proxmox?
May be, probably. I am not an lxc user, so I have no reliable overview over the details...
 
  • Like
Reactions: Johannes S
May be, probably. I am not an lxc user, so I have no reliable overview over the details...
It might also be, that Incus (from the same team like linux-containers) or lxc support but it's not available in PVE at the moment.