Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker ps: add fields for ordering and column selection
* api/client/commands.go: Refactor CmdPs to use a fields list of characters to determine which columns to print on `docker ps` invocation. This adds an ability for the docker command to print the columns of output in arbitrary order. Signed-off-by: Jeff Mickey <j@codemac.net>
- Loading branch information
Showing
1 changed file
with
91 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters