[SOLVED] LXC containers from images.linuxcontainers.org/images/

May 18, 2019
162
7
23
Los Angeles, CA USA
The latest Ubuntu LXC images are in

https://us.images.linuxcontainers.org/images/ubuntu/bionic/amd64/default/

This thread states that I can use them.

A) Which file do I need to download?
0HZ8AvF.png


B) Is there a pve cmd to download it or can I just wget it?

C) Do LXC container templates also go into /var/lib/vz/template/cache/?

Thanks
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
4,091
499
88
hi,

why are you getting your images from there? we have the ubuntu bionic template as well. we even have a tool you can use (`pveam` [0] ) or you can just enable templates for your storage in the gui.


[0]: https://pve.proxmox.com/pve-docs/pv...ong_pveam_strong_proxmox_ve_appliance_manager

but to answer your questions:

A) Which file do I need to download?
rootfs.tar.xz

B) Is there a pve cmd to download it or can I just wget it?

see `pveam`

C) Do LXC container templates also go into /var/lib/vz/template/cache/?

unless you specify another storage, they'll go there
 
May 18, 2019
162
7
23
Los Angeles, CA USA
Code:
# pveam download local https://us.images.linuxcontainers.org/images/ubuntu/bionic/amd64/default/20190705_07:42/rootfs.tar.xz
400 Parameter verification failed.
template: no such template
pveam download <storage> <template>

# wget -4 https://us.images.linuxcontainers.org/images/ubuntu/bionic/amd64/default/20190705_07:42/rootfs.tar.xz

# pveam download local rootfs.tar.xz
400 Parameter verification failed.
template: no such template
pveam download <storage> <template>

sorry, I can't figure out the syntax for using an external template
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
4,091
499
88
you can also upload the template through the webgui or use `pct create <vmid> <template>` to create a ct with your preferred template
 
  • Like
Reactions: borekon and Gaia

Sysnasri

New Member
Nov 19, 2020
26
2
3
28

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
4,091
499
88
it's kept on the storage you choose for your templates. if you chose local it will be in /var/lib/vz/template/cache
 

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 your own in 60 seconds.

Buy now!