Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
vikas-goel opened this issue Jan 20, 2024 · 0 comments · Fixed by #21446
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. network Networking related issue or feature

Comments

@vikas-goel
Copy link
Contributor

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.

@vikas-goel vikas-goel added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 20, 2024
@vikas-goel vikas-goel changed the title Option to name network interface inside container same as the respective podman network interface name or its parent by default Option to name network interface inside container same as the respective podman network interface name of its parent by default Jan 20, 2024
@Luap99 Luap99 added the network Networking related issue or feature label Jan 24, 2024
kwilczynski pushed a commit to kwilczynski/common that referenced this issue Mar 13, 2024
Add a new containers.conf attribute to define how to set interface name inside containers.

Relates to: containers/podman#21313

Signed-off-by: Vikas Goel <[email protected]>
@stale-locking-app stale-locking-app bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label May 9, 2024
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. network Networking related issue or feature
Projects
None yet
2 participants