Hello Proxmox World! Thank you for your excellent contributions.
I don't have any experience with containers until very recently. The current Archlinux image/template from proxmox is a bit stale and I wasnt able to upgrade the OS/template (whatever the vernakularr) cleanly. Basically the container borked on pacman -Syyu after restart.
I looked for info on creating templates. That lead to a lot of links about creating containers from downloads not creating actual fresh container templates. Proxmox does that fine I wanted more downloads to choose from and or to learn to create my own.
Other good links led to https://linuxcontainers.org/lxc/getting-started/#LXC - && # lxc-create -t download -n my-container - directly from there the "templates" were mostly more abundant and fresh. These are not directly usable in proxmox (I guess..)
So I eventually ran into Installing OpenWRT as LXC. How convert LXC template to Proxmox Template? Where Alwin said
I did not know that...
download/ghost installed the container from lxc-create -t download -n LXCarch
grabbed the rootfs from /var/cache/lxc/download/archlinux/current/amd64/default/
moved it to proxmox template cache renamed /mnt/pve/yostorage/template/cache/archlinux-base_20200225_amd64.tar.xz (yes .xz)
then just created the container from the proxmox GUI and as Alwin said (it did) should do. Proxmox added its magic as well as i can tell apparmor and the config look sane.
# bash -version
GNU bash, version 5.0.16(1)-release (x86_64-pc-linux-gnu)
current as of 12 days ago https://git.archlinux.org/svntogit/packages.git/log/trunk?h=packages/bash
New to LXC and containers so this is a reminder post to me and shout out to any others searching for ways to try other templates / containers in Proxmox. If any Proxmox / LXC peeps think this is an insane way to go about it I'm ready to learn more.
I don't have any experience with containers until very recently. The current Archlinux image/template from proxmox is a bit stale and I wasnt able to upgrade the OS/template (whatever the vernakularr) cleanly. Basically the container borked on pacman -Syyu after restart.
I looked for info on creating templates. That lead to a lot of links about creating containers from downloads not creating actual fresh container templates. Proxmox does that fine I wanted more downloads to choose from and or to learn to create my own.
Other good links led to https://linuxcontainers.org/lxc/getting-started/#LXC - && # lxc-create -t download -n my-container - directly from there the "templates" were mostly more abundant and fresh. These are not directly usable in proxmox (I guess..)
So I eventually ran into Installing OpenWRT as LXC. How convert LXC template to Proxmox Template? Where Alwin said
If you made a rootfs (x86) and use the naming convention, then a simple creation of the CT on the GUI/CLI should do. There you can select the template then.
I did not know that...
download/ghost installed the container from lxc-create -t download -n LXCarch
grabbed the rootfs from /var/cache/lxc/download/archlinux/current/amd64/default/
moved it to proxmox template cache renamed /mnt/pve/yostorage/template/cache/archlinux-base_20200225_amd64.tar.xz (yes .xz)
then just created the container from the proxmox GUI and as Alwin said (it did) should do. Proxmox added its magic as well as i can tell apparmor and the config look sane.
# bash -version
GNU bash, version 5.0.16(1)-release (x86_64-pc-linux-gnu)
current as of 12 days ago https://git.archlinux.org/svntogit/packages.git/log/trunk?h=packages/bash
New to LXC and containers so this is a reminder post to me and shout out to any others searching for ways to try other templates / containers in Proxmox. If any Proxmox / LXC peeps think this is an insane way to go about it I'm ready to learn more.