Skip to main content

Command and subcommand guide

Global flags apply to built-in commands and plugins:

--backend, -b qemu|kubevirt|incus|libvirt   one-shot backend
--context NAME one-shot named context
--demo safe built-in demonstration fleet

Use corral <command> --help for the authoritative flags in your installed version and corral completion bash|zsh|fish for shell completion.

Fleet and lifecycle​

CommandPurpose
corralOpen the TUI
corral listAggregate all configured contexts and peers
corral create NAMECreate a VM; select source, resources, and destination with flags
corral info NAMEPrint backend information for one VM
`corral startstop
`corral pauseunpause NAME`
corral delete NAMERemove a VM and Corral-managed resources
corral clone SOURCE DESTClone a supported VM
corral migrate NAME --node NODEMove a KubeVirt VM
corral scale NAME --cpu N --mem SIZEChange CPU and memory
corral screenshot NAME -o FILE.pngCapture a local QEMU framebuffer

Common creation examples:

corral create installer --backend qemu --iso ./installer.iso --cpu 4 --mem 8G
corral create api --backend kubevirt --context homelab \
--container-disk quay.io/containerdisks/fedora:42
corral create sandbox --backend incus --context lab \
--image images:ubuntu/24.04

Access and networking​

CommandPurpose
corral ssh NAMEResolve the correct direct, backend, or peer transport
corral viewer NAMEOpen the graphical console
corral logs NAMEShow backend logs
corral networksList KubeVirt Multus attachments
corral addnic NAMEAdd a secondary network interface
corral lanservice NAMEManage LAN exposure

SSH accepts the usual user, identity, command, port, and local-forward options:

corral ssh dev -u core -i ~/.ssh/id_ed25519
corral ssh db -L 5432:127.0.0.1:5432

Storage and VM operations​

CommandSubcommands or role
corral snapshotcreate, ls, restore, rm
corral adddisk / rmdiskAttach or detach supported disks
corral exportExport a disk in a supported format
corral templateMark and manage templates
corral gcCollect expired ephemeral resources; supports dry-run

Containers​

corral ct create devbox --image docker.io/library/debian:bookworm --privileged
corral ct list
corral ct start devbox
corral ct console devbox
corral ct stop devbox
corral ct delete devbox

Configuration, diagnostics, and federation​

CommandSubcommands
corral contextadd, list, get, use, remove
corral peeradd, list, remove
corral doctorDiagnose all targets or one --context; apply safe fixes with --fix
corral webStart the dashboard/API; use --demo for a fixture fleet
corral completionGenerate shell completion

Plugins and marketplace​

corral plugin search
corral plugin info bootc
corral plugin install bootc
corral plugin list
corral plugin update bootc
corral plugin pin bootc
corral plugin remove bootc

corral marketplace list
corral marketplace add internal https://example.test/corral/index.json
corral marketplace validate ./index.json
corral marketplace disable internal

Installed executables named corral-NAME become corral NAME. First-party plugins include bootc, backup, Windows, GPU, snapshot scheduling, VM scheduling, Proxmox compatibility, and the current VDI pool slice. Backend support varies; inspect corral plugin info NAME before assuming a workflow is portable.