Skip to content

Option to name network interface inside container same as the respective podman network interface name of its parent by default #21313

@vikas-goel

Description

@vikas-goel

Feature request description

Docker allows to customer network interface name inside containers using com.docker.network.container_iface_prefix option. Docker Compose too supports it.

How can same be done with Podman when used with Docker Compose?

Will be good to have containers.conf option, say interface_name = network|parent to make that default.

Suggest potential solution

Will be good to have containers.conf option, say interface_name = parent to make that default.

Have you considered any alternatives?

A clear and concise description of any alternative solutions or features you've considered.

Additional context

There was a Podman ticket created earlier #13174 which was closed in the favor of Bugzilla back in 2022. There is no activity since then. Unable to re-open the original ticket. Hence, creating again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.networkNetworking related issue or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions