-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cannot create network with name "bridge" because it conflicts with a valid network mode #14983
Comments
You should not have to create a network called bridge. Podman already accepts --network bridge and will automatically map this to the default podman network. |
@Luap99 It doesn't seem to be the case though the API.
|
Please provide a full reproducer |
Using this project as a basis https://github.com/devonfw-sample/devon4quarkus-reference Run inside a Docker container (in my case a GitLab runner) with image
Last command with throw at the end:
|
I don't have time to run such big complicated reproducers, please provide the exact API call where we error. |
Oh, that's a very useful flag for this case. Here's the relevant API call:
|
Docker uses "bridge" as default network name so some tools expect this to work with network list or inspect. To fix this we change "bridge" to the podman default ("podman") name. Fixes containers#14983 Signed-off-by: Paul Holzinger <[email protected]>
Should be fixed in the next release (v4.2). As workaround you could also try setting the default network name to bridge in containers.conf. |
Docker uses "bridge" as default network name so some tools expect this to work with network list or inspect. To fix this we change "bridge" to the podman default ("podman") name. Fixes containers#14983 Signed-off-by: Paul Holzinger <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Cannot create a network named bridge to make badly written applications (but not changeable) that depend on Docker default network name work.
Steps to reproduce the issue:
Describe the results you received:
Error: cannot create network with name "bridge" because it conflicts with a valid network mode
Describe the results you expected:
Network is created.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Podman inside Alpine container.
The text was updated successfully, but these errors were encountered: