ProxmoxVED/docs/ct/README.md
CanbiZ 3860b7a9fa Restructure and expand contribution documentation
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.
2025-12-01 12:35:16 +01:00

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

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 server
  • docker.sh - Docker container runtime
  • wallabag.sh - Article reading & archiving
  • nextcloud.sh - Private cloud storage
  • debian.sh - Basic Debian container
  • And 30+ more...

Quick Start

To understand how to create a container script:

  1. Read: UPDATED_APP-ct.md
  2. Study: A similar existing script in /ct
  3. Copy template and customize
  4. Test locally
  5. Submit PR

Contributing a New Container

  1. Create ct/myapp.sh
  2. Create install/myapp-install.sh
  3. Follow template in UPDATED_APP-ct.md
  4. Test thoroughly
  5. Submit PR with both files

Common Tasks


Last Updated: December 2025 Maintainers: community-scripts team