Managing an LXC container
In Proxmox, each LXC container has two configuration files. One defines the raw resource allocation while the other used by Proxmox is used to define a container. The Proxmox container configuration file can be found at the following location:
/etc/pve/local/lxc/<container_id>.conf
For our example container ID #101, the following are the contents of this configuration file:
The raw container configuration file can be found at
/var/lib/lxc/<container_id>/config.
The following is the content of the resource allocation configuration file for our example container:
There is another directory for the root filesystem that is a mount point for the allocated storage space inside the container. The location of the directory is as follows:
/var/lib/lxc/<container_id>/rootfs/
But in Proxmox, this directory is not used to store container data. For local storage, the container virtual disk image is created in:
/var/lib/vz/images/<container_id>/.
For shared storage...