$ cubic --help
Cubic is a lightweight command line manager for virtual machines. It
has a simple, daemonless and rootless design. All Cubic virtual machines
run isolated in the user context. Cubic is built on top of QEMU, KVM and
cloud-init.
Examples:
Create a new VM instance with:
$ cubic create example --image ubuntu:noble
Open a shell in the VM instance:
$ cubic ssh example
Alternatively, use `run` to execute the above commands in a single command:
$ cubic run example --image ubuntu:noble
Show all supported VM images:
$ cubic images
List previously created VM instances:
$ cubic instances
Show information about a VM instance:
$ cubic show <instance>
Execute a command in a VM instance:
$ cubic exec <instance> <shell command>
Transfer files and directories between host and VM instance:
$ cubic scp <path/to/host/file> <instance>:<path/to/guest/file>
See `cubic scp --help` for more examples
For more information, visit: https://cubic-vm.org/
The source code is located at: https://github.com/cubic-vm/cubic
Usage: cubic [OPTIONS] <COMMAND>
Commands:
run Create and start VM instances
create Create VM instances
instances List VM instances
images List VM images
ports List ports for VM instances
show Show VM images and instances
modify Modify VM instances
console Open VM instance console
ssh Connect to VM instances
scp Copy data between host and VM instances
exec Execute commands on VM instances
start Start VM instances
stop Stop VM instances
restart Restart VM instances
rename Rename VM instances
clone Clone VM instances
delete Delete VM instances
prune Clear caches
completions Generate shell completion scripts
Options:
-v, --verbose Increase logging output
-q, --quiet Reduce logging output
-h, --help Print help
-V, --version Print version