From 401e93bbb9b4bd682234f0ebca59aa83bfbe3f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Martins?= Date: Thu, 19 Feb 2015 15:18:58 +0000 Subject: [PATCH] Added missing documentation for PR #8543 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added more examples and functionalities for docker ps documentation Signed-off-by: André Martins --- docs/man/docker-ps.1.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/man/docker-ps.1.md b/docs/man/docker-ps.1.md index 4c94545e32..bd1e04d813 100644 --- a/docs/man/docker-ps.1.md +++ b/docs/man/docker-ps.1.md @@ -1,6 +1,6 @@ % DOCKER(1) Docker User Manuals % Docker Community -% JUNE 2014 +% FEBRUARY 2015 # NAME docker-ps - List containers @@ -37,6 +37,8 @@ the running containers. Provide filter values. Valid filters: exited= - containers with exit code of status=(restarting|running|paused|exited) + name= - container's name + id= - container's ID **-l**, **--latest**=*true*|*false* Show only the latest created container, include non-running ones. The default is *false*. @@ -74,9 +76,15 @@ the running containers. c1d3b0166030 41d50ecd2f57 +# Display only IDs of all containers that have the name `determined_torvalds` + + # docker ps -a -q --filter=name=determined_torvalds + c1d3b0166030 + # HISTORY April 2014, Originally compiled by William Henry (whenry at redhat dot com) based on docker.com source material and internal work. June 2014, updated by Sven Dowideit August 2014, updated by Sven Dowideit November 2014, updated by Sven Dowideit +February 2015, updated by André Martins