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

setcm

New Member
May 15, 2018
2
0
1
46
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.
 
  • Like
Reactions: Sasha