I want to using Rocky Linux in proxmox under Linux Container (LXC).
Thus, I just migrated a Rocky container from a test CentOS 8 LXC container by the migrate2rocky tool.
Although there is no error message during the migration process, I am still a little worried about whether there are still some problems with this type of container. So, is there a better way to using Rocky Linux LXC Container in proxmox?
I just sign up for the same reason
I hope Proxmox make an official CT template of RockyLinux ! On Proxmox VE 7, CentOS 7 is out , can’t start And CentOS 8 … I don’t want to explain about it
Thanks in advance
Main reason still usimg proxmox 6.x
I could give a try to export the tarball from the official docker container and i.port as template in proxmox though
You can import a image from here Index of /images/rockylinux/8 as a template. Just use cloud section like Index of /images/rockylinux/8/amd64/cloud/20210903_02:06
. The image name is rootfs.tar.xz
So I tested the docker save way and now have a RockyLinux container running in Proxmox.
LXC tar.gz preparation steps:
docker pull rockylinux/rockylinux
docker save --output "rockytemp.tar" rockylinux/rockylinux
tar -xvf rockytemp.tar.gz
find . -name '*.tar' | xargs gzip -c > rockylinux84.tar.gz
ls | grep -v rockylinux84.tar.gz | xargs rm -rf
# final file
Upload the “rockylinux84.tar.gz” file in your CT Templates dir and your should be good to go to create new containers:
Starting on September 29, 2021, the official RockyLinux CT-template from Proxmox company is already available.