Usage
uc context list
Output
The command displays a table with:- NAME - Context name
- CURRENT - Checkmark (✓) for the active context
- CONNECTIONS - Number of machine connections configured
Examples
List all contexts
Understanding Contexts
A context represents a cluster and contains:- Connection information for accessing cluster machines
- Current context settings
~/.config/uncloud/config.yaml.
Use Cases
Check Available Clusters
See what clusters you can connect to:Verify Current Context
Confirm which cluster you’re working with:Related Commands
uc context use- Switch to a different contextuc machine init- Create a new context
