Skip to content

Proposal: expose container name within the container #7255

@EronWright

Description

@EronWright

I attach to various containers throughout the day and occasionally become confused about which one I'm in. I'd like to adjust my bash prompt to show the container name.

An environment variable with the container name would be ideal, to cover scenarios beyond the one I described. But any source would do for my purposes.

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