Skip to content

Instantly share code, notes, and snippets.

View heitbaum's full-sized avatar

Rudi Heitbaum heitbaum

  • Melbourne, Australia
  • 20:55 (UTC +11:00)
View GitHub Profile
@heitbaum
heitbaum / proxmox.md
Last active September 18, 2025 13:55

To share a Proxmox host folder into an LXC container, first mount the desired host folder to a temporary location on the PVE host, then use the pct.set command or modify the LXC's configuration file to bind-mount this temporary directory into the container. Ensure the container's user has the correct permissions for the mounted folder, adjusting User ID (UID) and Group ID (GID) as necessary, which can be done in the container's configuration file.

Step-by-Step Guide

  • Mount the folder on the Proxmox host:

    • Ensure you have the necessary network share (NFS or SMB/CIFS) mounted on your PVE host.
    • Create a directory on the host to serve as a temporary mount point for your shared folder.

mkdir /mnt/my-shared-folder

  • Configure the LXC Container: