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

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -