Importing & Exporting LXC?

I see on the LXC Containers Screen, that while one can create a new LXC container from scratch, its not possible (in the GUI) to import an existing container, or export an LXC.

I’ve asked my Brave Browser AI about what is possible re LXC, ie what is possible wrt LXC on Proxmox. It seems that on Proxmox, there are (limited) ways of migrating LXC’s, assuming CPU & Host Kernel are compatible. Its kinda wierd to me, that an LXC will use the host kernel…. So LXC’s re basically a rootfs, running on the host kernel. I guess that simplifies the design of the LXC, compared to, say a VM.

Are there any plans for introducing import/export to TN LXC’s?

Should I plan on relying on Snapshots & Backing up important data/folders (since LXC’s are just basically a filesystem)?

The current lxc backend incus has the possibilities to export lxcs (as far as i’ve read its documentation) but it’s not exposed in the gui, and since incus will be replaced by libvirt as lxc backend later this year with truenas 26 i don’t think it will be exposed anytime soon. What will be possible with the new backend, no one knows right now…

1 Like