mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #10898 from noironetworks/Fixing-docs-for-docker-ps-filter
Added missing documentation for PR #8543
This commit is contained in:
commit
573e2484a5
1 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
% DOCKER(1) Docker User Manuals
|
% DOCKER(1) Docker User Manuals
|
||||||
% Docker Community
|
% Docker Community
|
||||||
% JUNE 2014
|
% FEBRUARY 2015
|
||||||
# NAME
|
# NAME
|
||||||
docker-ps - List containers
|
docker-ps - List containers
|
||||||
|
|
||||||
|
@ -37,6 +37,8 @@ the running containers.
|
||||||
Provide filter values. Valid filters:
|
Provide filter values. Valid filters:
|
||||||
exited=<int> - containers with exit code of <int>
|
exited=<int> - containers with exit code of <int>
|
||||||
status=(restarting|running|paused|exited)
|
status=(restarting|running|paused|exited)
|
||||||
|
name=<string> - container's name
|
||||||
|
id=<ID> - container's ID
|
||||||
|
|
||||||
**-l**, **--latest**=*true*|*false*
|
**-l**, **--latest**=*true*|*false*
|
||||||
Show only the latest created container, include non-running ones. The default is *false*.
|
Show only the latest created container, include non-running ones. The default is *false*.
|
||||||
|
@ -74,9 +76,15 @@ the running containers.
|
||||||
c1d3b0166030
|
c1d3b0166030
|
||||||
41d50ecd2f57
|
41d50ecd2f57
|
||||||
|
|
||||||
|
# Display only IDs of all containers that have the name `determined_torvalds`
|
||||||
|
|
||||||
|
# docker ps -a -q --filter=name=determined_torvalds
|
||||||
|
c1d3b0166030
|
||||||
|
|
||||||
# HISTORY
|
# HISTORY
|
||||||
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
||||||
based on docker.com source material and internal work.
|
based on docker.com source material and internal work.
|
||||||
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
||||||
August 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
August 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
||||||
November 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
November 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
||||||
|
February 2015, updated by André Martins <martins@noironetworks.com>
|
||||||
|
|
Loading…
Reference in a new issue