create command provisions a new stack using a create definition registered by an installed plugin. Run sitectl create list to see all available definitions, or omit arguments to be guided interactively.
Reference
Create a new stack using a first-class create definition registered by an installed sitectl plugin.Selecting a definition
You can qualify the target asplugin/definition to skip prompts entirely:
Flag ordering
create forwards everything after it to the selected plugin’s create runner, so it
does not parse flags itself. Global sitectl flags such as --context and
--log-level must therefore come before the create subcommand:
create forwards it to the plugin, which rejects it:
--path, --type, --checkout-source,
--setup-only, or ISLE’s --fcrepo and --blazegraph) still go after the target,
because they belong to the plugin’s create runner.
Template release and provenance
The documented application plugins clone their matching LibOps template from the stablev1.0.0 ref by default. Use --template-branch only when you deliberately
want another reviewed template ref; do not substitute a moving branch in unattended
creation without recording that decision.
Before sitectl discards the template’s Git history, it resolves the exact cloned
commit. It initializes a new repository owned by the site and atomically writes
.libops/template.lock.yaml. Commit that file with the downstream fork. It records
the source repository and commit, available sitectl/plugin build identities, the
template contract digest, and the declared component-defaults revision.
The lock is provenance, not an attestation or an automatic update channel. The
template owns .libops/template-contract.yaml and may declare
.libops/component-defaults.revision; the downstream create operation owns
.libops/template.lock.yaml. A source template that already contains the lock is
invalid. See Updating a downstream fork for the
upgrade workflow.
Remote Prerequisites
For--type remote, the standard create runner checks the SSH target before cloning
or starting the stack. The remote host needs git, make, Docker, the Docker
Compose v2 plugin, and Docker daemon access for the SSH user.
If those tools are missing on a supported mutable host, sitectl asks before installing
or starting them. Pass --yolo for unattended QA or automation:
apt, Fedora/RHEL
through dnf or yum, and Fedora CoreOS through rpm-ostree. Fedora CoreOS package
layering requires a reboot, so rerun sitectl create after the host comes back.
Google Container-Optimized OS is detected separately: sitectl can start Docker if
that is the only missing item, but it will not try to install host packages on COS.
Setup-Only and First Start
--setup-only creates the local checkout and context without starting the stack. A fresh template checkout may still run clone-time init. For plugin-owned local contexts, the first later sitectl compose up checks the plugin’s declared init artifacts and images, then runs any remaining init or build commands before starting Compose:
Image and Build Overrides
Compose template create runners can accept image override flags:docker-compose.override.yml file used by sitectl image set. Use sitectl image set later when you need to change image or build-arg overrides for an existing local context.
