Environment variables provide the most flexible way to configure container deployments. They override all other settings and can be used for both interactive and automated deployments.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/community-scripts/ProxmoxVE/llms.txt
Use this file to discover all available pages before exploring further.
Basic Usage
Set variables before running any installation script:Resource Allocation
Number of CPU cores allocated to the container
RAM allocation in megabytes (MB)
Disk size in gigabytes (GB)
Container privilege level
1= Unprivileged (more secure, recommended)0= Privileged (required for Docker/Podman)
Operating System
Operating system template
debian- Debian Linuxubuntu- Ubuntu Linuxalpine- Alpine Linux
OS version number
- Debian:
12,13 - Ubuntu:
22.04,24.04 - Alpine:
3.19,3.20,3.21
Network Configuration
Network bridge interface
Network configuration method
dhcp- Automatic IP via DHCP192.168.1.100/24- Static IP with CIDR192.168.1.100/24-192.168.1.200/24- IP range scan (auto-assign first free IP)
IP Range Scanning: When you specify a range, the system pings each IP and automatically assigns the first available one. Perfect for automated deployments without manual IP tracking.
Default gateway (required for static IP)
IPv6 configuration method
none- Disable IPv6auto- Automatic via SLAACdhcp- DHCPv6
Static IPv6 address with prefix
Maximum Transmission Unit size
VLAN tag ID
MAC address (auto-generated if not specified)
DNS nameservers (comma-separated)
DNS search domain
Container Identity
Container hostname
Container ID (auto-assigned if not specified)
Container tags (semicolon-separated)
Container timezone
Security & Access
Enable SSH server
yes- Install and enable OpenSSHno- No SSH access
SSH public key(s) for root access (newline-separated for multiple keys)
Root password (auto-generated if not specified)
Enable container deletion protection
yes- Prevent accidental deletionno- No protection
Container Features
Enable container nesting (required for Docker, Podman, LXC inside LXC)
1= Enabled0= Disabled
Enable FUSE filesystem support (required for rclone, mergerfs, AppImage)
yes= Enabledno= Disabled
Enable TUN/TAP device support (required for VPN apps: WireGuard, OpenVPN, Tailscale)
yes= Enabledno= Disabled
Enable keyctl syscall (required for Docker containers and systemd-networkd)
1= Enabled0= Disabled
Automatically enabled for unprivileged containers
Allow device node creation (experimental, requires kernel 5.3+)
1= Enabled0= Disabled
Enable GPU passthrough (auto-detects Intel/AMD/NVIDIA GPUs)
yes= Enable hardware accelerationno= No GPU access
Mount host filesystem paths (comma-separated)
Storage
Storage location for container root filesystem
Storage location for OS templates
Package Management
Use APT Cacher-NG proxy (speeds up package downloads)
yes= Use caching proxyno= Direct downloads
APT Cacher-NG server IP address
Debugging
Enable verbose output during installation
yes= Show detailed logsno= Standard output
Complete Example
Here’s a production-ready deployment with commonly used variables:Common Patterns
Docker Host
VPN Gateway
Media Server with GPU
High-Availability Web Server
Variable Validation
Allowed Variable Prefixes:- All variables must start with
var_ - Custom variables are ignored
- See the complete list above for all supported variables
Related Resources
Defaults System
Save variables as reusable defaults
Unattended Deployment
Automate deployments with variables