diff --git a/README.md b/README.md index f0a1719..924274f 100644 --- a/README.md +++ b/README.md @@ -603,6 +603,12 @@ For all containers listed by name: docker stats $(docker ps --format '{{.Names}}') ``` +For all containers listed by image: + +``` +docker ps -a -f ancestor=ubuntu +``` + ## Contributing Here's how to contribute to this cheat sheet.