Skip to content

Proposal: Consider storing container name in Container struct #133

@xHozey

Description

@xHozey

Currently, the Container struct stores the container ID, short ID, image, exposed ports, and runtime state, but it does not include the container name.

I was wondering whether the omission of the container name is intentional. In some scenarios, having the name available directly on the struct could be useful, particularly for debugging and improving log readability.

Before opening a PR, I wanted to ask whether this was intentionally excluded to keep the abstraction minimal, or if adding a name string field to the struct would be considered acceptable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions