Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
This repository was archived by the owner on May 5, 2025. It is now read-only.

Attempting to use filters is unneccesarily inconvenient #26

@mikroskeem

Description

@mikroskeem
(docker/invoke conn
               {:op :ContainerList
                :params {:filters (json/write-value-as-string {:label {const/server-name-label true}})}})

While this makes kind of sense, because...

{:doc
 "List containers\nReturns a list of containers. For details on the format, see [the inspect endpoint](#operation/ContainerInspect).\n\nNote that it uses a different, smaller representation of a container than inspecting a single container. For example,\nthe list of linked containers is not propagated .\n",
 :params
 ({:name "all", :type "boolean"}
  {:name "limit", :type "integer"}
  {:name "size", :type "boolean"}
  {:name "filters", :type "string"})}

... filters is string, but maybe this could be handled differently?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions