Getting Started with vind
May 4, 2026 ยท View on GitHub
This guide will walk you through setting up and using vind (vCluster in Docker) for the first time.
Quickstart
Create Your First Cluster
The simplest way to create a cluster:
vcluster create my-first-cluster
This will:
- Create a Docker container with vCluster standalone
- Install Kubernetes inside the container
- Set up networking and storage
- Generate a kubeconfig and connect automatically
Verify the Cluster
After creation, verify it's working:
kubectl get nodes
kubectl get namespaces
kubectl get pods --all-namespaces
You should see:
- A control plane node
- Default namespaces (default, kube-system, etc.)
- System pods running
Prerequisites
Before you begin, ensure you have:
-
Docker installed and running
docker --version docker ps # Should work without errors -
vCluster CLI v0.34.0 or later
vcluster version -
kubectl (optional but recommended)
kubectl version --client
Installation
Step 1: Install/Upgrade vCluster CLI
If you don't have vCluster CLI installed:
# macOS
brew install loft-sh/tap/vcluster
# Linux
curl -L -o vcluster "https://github.com/loft-sh/vcluster/releases/latest/download/vcluster-linux-amd64" && \
sudo install -c -m 0755 vcluster /usr/local/bin && \
rm -f vcluster
# Windows
# Download from https://github.com/loft-sh/vcluster/releases
Upgrade to the required version:
vcluster upgrade --version v0.34.0
Step 2: Set Docker as Default Driver
vcluster use driver docker
This sets Docker as your default driver for all vCluster operations.
Optional: Start vCluster Platform UI
For a better management experience, start the vCluster Platform:
vcluster platform start
This provides:
- Web-based UI for cluster management
- Visual cluster overview
- Resource monitoring
- Easy cluster operations
Access the UI at https://localhost:10443 (default port).
Important: Start the platform before creating clusters. Clusters created before
vcluster platform startwill not be automatically synced to the UI. If you create clusters first and start the platform later, those existing clusters will not appear in the dashboard. Only clusters created after the platform is running will be visible in the UI.
Basic Operations
List Clusters
vcluster list
Connect to a Cluster
vcluster connect my-first-cluster
This updates your kubeconfig to use the cluster.
Disconnect from a Cluster
vcluster disconnect my-first-cluster
This removes the cluster from your kubeconfig.
Pause a Cluster
Save resources by pausing a cluster:
vcluster pause my-first-cluster
The cluster state is preserved, but resources are freed.
Resume a Cluster
Resume a paused cluster:
vcluster resume my-first-cluster
The cluster returns to its previous state.
Delete a Cluster
vcluster delete my-first-cluster
โ ๏ธ Warning: This permanently deletes the cluster and all its data.
Next Steps
Now that you have a basic cluster running:
- Configure your cluster - Learn about advanced configuration options
- Explore advanced features - Sleep/wake, load balancers, external nodes
- Check out examples - See real-world use cases
- Compare with KinD - Understand the differences
Troubleshooting
Cluster won't start
- Check Docker is running:
docker ps - Check available resources:
docker system df - View cluster logs:
docker exec vcluster.cp.my-first-cluster journalctl -u vcluster --nopager
Can't connect to cluster
- Ensure cluster is running:
vcluster list - Reconnect:
vcluster connect my-first-cluster --update-current - Check kubeconfig:
kubectl config get-contexts
Port conflicts
If you get port conflicts, specify custom ports:
vcluster create my-cluster \
--set experimental.docker.ports[0]="8080:80" \
--set experimental.docker.ports[1]="8443:443"
For more troubleshooting help, see the Troubleshooting Guide.
What's Next?
Congratulations! You've created your first vind cluster. Explore the documentation to learn more about:
Happy clustering! ๐