Moved contribution-related docs to docs/contribution/, added new guides and templates for contributors, and updated references in docs/README.md to point to the new locations. This improves organization and provides clearer onboarding and standards for new contributors.
2.1 KiB
2.1 KiB
Container Scripts Documentation (/ct)
This directory contains comprehensive documentation for container creation scripts in the /ct directory.
Overview
Container scripts (ct/*.sh) are the entry points for creating LXC containers in Proxmox VE. They run on the host and orchestrate the entire container creation process.
Documentation Structure
Each script has standardized documentation following the project pattern.
Key Resources
- DETAILED_GUIDE.md - Complete reference for creating ct scripts
- ../contribution/README.md - How to contribute
- ../misc/build.func/ - Core orchestrator documentation
Container Creation Flow
ct/AppName.sh (host-side)
│
├─ Calls: build.func (orchestrator)
│
├─ Variables: var_cpu, var_ram, var_disk, var_os
│
└─ Creates: LXC Container
│
└─ Runs: install/appname-install.sh (inside)
Available Scripts
See /ct directory for all container creation scripts. Common examples:
pihole.sh- Pi-hole DNS/DHCP serverdocker.sh- Docker container runtimewallabag.sh- Article reading & archivingnextcloud.sh- Private cloud storagedebian.sh- Basic Debian container- And 30+ more...
Quick Start
To understand how to create a container script:
- Read: UPDATED_APP-ct.md
- Study: A similar existing script in
/ct - Copy template and customize
- Test locally
- Submit PR
Contributing a New Container
- Create
ct/myapp.sh - Create
install/myapp-install.sh - Follow template in UPDATED_APP-ct.md
- Test thoroughly
- Submit PR with both files
Common Tasks
- Add new container application → CONTRIBUTION_GUIDE.md
- Debug container creation → EXIT_CODES.md
- Understand build.func → misc/build.func/
- Development mode debugging → DEV_MODE.md
Last Updated: December 2025 Maintainers: community-scripts team