diff --git a/cli/command/service/list.go b/cli/command/service/list.go index d02c691a9b..338ac9164b 100644 --- a/cli/command/service/list.go +++ b/cli/command/service/list.go @@ -45,7 +45,8 @@ func runList(dockerCli *command.DockerCli, opts listOptions) error { ctx := context.Background() client := dockerCli.Client() - services, err := client.ServiceList(ctx, types.ServiceListOptions{}) + serviceFilters := opts.filter.Value() + services, err := client.ServiceList(ctx, types.ServiceListOptions{Filters: serviceFilters}) if err != nil { return err }