Skip to content

inspect command is missing --size option #2194

@jandubois

Description

@jandubois

What is the problem you're trying to solve

I was trying the docker/logs-explorer-extension with nerdctl instead of docker and found that it would call nerdctl inspect '--format={{json .}}' --size=false ..., which fails because nerdctl doesn't support --size.

The option is documented at https://docs.docker.com/engine/reference/commandline/inspect/#size

Describe the solution you'd like

It is rather low priority, but it would be nice if the option was implemented for docker compatibility.

Additional context

Note that adding support for --size alone would still not allow using the docker/logs-explorer-extension with nerdctl; it would also require #54 because it also runs nerdctl events --filter type=container --format '{{json .}}'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions