CLI Reference

Complete command reference for the Volt CLI.

Container Commands

CommandDescription
volt runCreate and start a container
volt psList running containers
volt stop <name>Stop a container
volt rm <name>Remove a stopped container
volt logs <name>View container logs
volt exec <name> <cmd>Execute a command in a running container
volt inspect <name>Show detailed container information

VM Commands

CommandDescription
volt vm createCreate a new microVM
volt vm start <name>Start a VM
volt vm stop <name>Stop a VM
volt vm listList all VMs
volt vm snapshot <name>Create a VM snapshot
volt vm restore <name>Restore from snapshot

Image Commands

CommandDescription
volt image listList local images
volt image pull <ref>Pull an image from a registry
volt image rm <ref>Remove a local image
volt image inspect <ref>Show image details

Compose Commands

CommandDescription
volt compose upStart services defined in a compose file
volt compose downStop and remove compose services
volt compose psList compose services

System Commands

CommandDescription
volt system infoShow system information and capabilities
volt security auditAudit security configuration
volt versionShow Volt version

Common Flags

FlagDescription
-n, --nameWorkload name
-p, --portPort mapping (host:container)
-v, --volumeVolume mount (host:container)
-e, --envEnvironment variable
--memoryMemory limit (e.g., 256M, 1G)
--cpusCPU limit (e.g., 0.5, 2)
-d, --detachRun in background