O'Reilly logo

Mastering Proxmox - Second Edition by Wasim Ahmed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

Managing an LXC container

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required