Container scripts automate the creation and configuration of LXC containers on Proxmox VE. These scripts handle everything from container creation to application installation.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.
Running Container Scripts
Execute the Script
Run the script using bash with the curl command:Or using the shorter helper.sh wrapper:
Configure Container Options
The script will prompt you to configure:
- Container ID
- Hostname
- Disk size
- CPU cores
- RAM allocation
- Network settings (bridge, VLAN tag)
- Privileged/Unprivileged mode
Available Container Scripts
Container scripts are located in thect/ directory. Popular examples include:
Customizing with Environment Variables
You can customize container creation by setting environment variables before running the script:Common Environment Variables
| Variable | Description | Default Example |
|---|---|---|
var_cpu | Number of CPU cores | 1, 2, 4 |
var_ram | RAM in MB | 512, 2048, 4096 |
var_disk | Disk size in GB | 2, 4, 10 |
var_os | Operating system | debian, ubuntu |
var_version | OS version | 13, 24 |
var_unprivileged | Unprivileged container | 1 (yes), 0 (no) |
var_tags | Container tags | docker, media |
Each script has different default values based on the application’s requirements. Check the script header for defaults.
Script Structure
All container scripts follow a standard structure:Interactive vs Non-Interactive Mode
Interactive Mode (Default)
Run the script normally to be prompted for each configuration option:Non-Interactive Mode
SetVERBOSE="no" and provide all variables to run without prompts:
Finding Container Scripts
To see all available container scripts:docker.sh, adguard.sh, plex.sh).
Next Steps
After creating a container:- Access the application using the provided URL
- Use the update script to keep the application updated
- Add management tools like Netdata for monitoring
- Configure backups in Proxmox VE