> Then, i want to create an lxc template. > the container files shoud be in /var/lib/lxc/lxc-id/rootfs/ > The issue i'm facing is rootfs is sometimes empty while the container is > running. LXC hides all files from the host for security reasons... I always use dab to create my containers: https://pve.proxmox.com/wiki/Debian_Appliance_Builder