'kind cluster - how to see docker-images that are loaded?
To test my images I normally load them into my kind cluster by running on my macOS laptop something like ...
kind load docker-image foo/bar-1.0.0:latest
How do I see what images have already been loaded ?
Solution 1:[1]
Get name of a node by running kubectl get nodes.
Get into the node by running docker exec -ti <nodename> bash
After getting into the node you can just run crictl images to see images loaded on that node.
Solution 2:[2]
For first cluster in the list, write this command:
docker exec -it $(kind get clusters | head -1)-control-plane crictl images
For specific cluster, write this command:
docker exec -it ${CLUSTER_NAME}-control-plane crictl images
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Arghya Sadhu |
| Solution 2 | H S Progr |
