How can I make use of LXC templates from linuxcontainers.org?

setcm

New Member
May 15, 2018
2
0
1
45
I'm looking to spin up an Oracle Linux 7 container but this distro is not in 'pveam available' output.

I see it listed at us.images.linuxcontainers.org but how do I get it? There are no download links and I don't see anything like a repo that I can configure.
 
I managed to build my own LXC template from an OL 7.3 VM using these steps: blogs.oracle.com/wim/oracle-linux-containers

Still, I'd be curious if there was an easy way to use the linuxcontainers.org templates for future reference.
 
In case anyone is still interested in this it turns out it is fairly simple. I saw a compressed tarball (xz compression) in the images directory
(https://us.images.linuxcontainers.org/images/oracle/8/amd64/default/20210723_07:46/ which is/was the latest as of 23-07-2021).

I just downloaded that and renamed it to something meaningful:
Code:
wget 'https://us.images.linuxcontainers.org/images/oracle/8/amd64/default/20210723_07:46/rootfs.tar.xz' -O oracle-linux-8-20210723.tar.xz

Then I just moved it into my storage's <storage-name>/template/cache/ folder and it showed up in the container templates on my proxmox node when I tried to create a container. Also after creation it loaded up nicely and everything "seems" to work just fine.
 
fahadysf,

Thank you for the link to Oracle 8 template. I have been looking all over for it.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!