Using names in docker ps --since-id/--before-id, resolves #3565
Also renames --since-id/--before-id to --since/--before and add errors
on non-existent containers.
Docker-DCO-1.1-Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com> (github: LK4D4)
Upstream-commit: 41429fd727
Component: cli
This commit is contained in:
@@ -967,13 +967,13 @@ new output from the container's stdout and stderr.
|
||||
List containers
|
||||
|
||||
-a, --all=false: Show all containers. Only running containers are shown by default.
|
||||
--before-id="": Show only container created before Id, include non-running ones.
|
||||
--before="": Show only container created before Id or Name, include non-running ones.
|
||||
-l, --latest=false: Show only the latest created container, include non-running ones.
|
||||
-n=-1: Show n last created containers, include non-running ones.
|
||||
--no-trunc=false: Don't truncate output
|
||||
-q, --quiet=false: Only display numeric IDs
|
||||
-s, --size=false: Display sizes, not to be used with -q
|
||||
--since-id="": Show only containers created since Id, include non-running ones.
|
||||
--since="": Show only containers created since Id or Name, include non-running ones.
|
||||
|
||||
|
||||
Running ``docker ps`` showing 2 linked containers.
|
||||
|
||||
Reference in New Issue
Block a user