(dockerCLI command.Cli)
| 62 | } |
| 63 | |
| 64 | func newListCommand(dockerCLI command.Cli) *cobra.Command { |
| 65 | cmd := *newPsCommand(dockerCLI) |
| 66 | cmd.Aliases = []string{"ps", "list"} |
| 67 | cmd.Use = "ls [OPTIONS]" |
| 68 | return &cmd |
| 69 | } |
| 70 | |
| 71 | func buildContainerListOptions(options *psOptions) (client.ContainerListOptions, error) { |
| 72 | listOptions := client.ContainerListOptions{ |
searching dependent graphs…