Export container images from the cluster's containerd runtime to a tar archive.
The exported archive can be used to:
- Share image sets between development machines
- Pre-load images for offline development
- Speed up cluster recreation by avoiding registry pulls
# Export all images from cluster to images.tar (default)
# Export all images to a specific file
ksail workload export ./backups/my-images.tar
# Export specific images from cluster
ksail workload export --image=nginx:latest --image=redis:7
# Export from a specific kubeconfig context
ksail workload export --context=kind-dev --kubeconfig=~/.kube/config
ksail workload export [<output>] [flags]
-c, --context string Kubernetes context of cluster
-h, --help help for export
--image stringArray Image(s) to export (repeatable); if not specified, all images are exported
-k, --kubeconfig string Path to kubeconfig file (default "~/.kube/config")
--timing Show per-activity timing output