How can I check how many containers are running a certain docker image? -
i want check how many containers running image, using docker ps --filter ancestor ="imagename"
, count number of containers.but machine not support command there way it?
how about
docker ps | grep imagename | wc -l
Comments
Post a Comment