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

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

filehandler - java open files not cleaned, even when the process is killed -

gridview - Yii2 DataPorivider $totalSum for a column -