I want to check how many containers are running an image, I could do that using docker ps --filter ancestor ="imagename"
and then count the number of containers.But my machine does not support this command is there another way to do it?
How about
docker ps | grep imagename | wc -l
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With