-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
podman doesn't respect default_network
setting on rootless mode
#25377
Comments
The I do acknowledge that the containers.conf man page does not make it really clear. |
Thanks. According to the documentation, these are the options for
And |
You can set it to whatever --network accepts for podman at least |
Thanks! It does work, indeed. It would be good to clarify that in the documentation, imo, it's unclear that the I will leave it opened for tracking, but you are welcome to close it if you like. |
The current docs are confusing and partly wrong even. Fixes containers/podman#25377 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Issue Description
I want that all my new created containers belong to a specific bridge network, so I set the following on my
$HOME/.config/containers/containers.conf
And then restarted the user's
podman.{service,socket}
butpodman run ...
still doesn't use my default network. Explicitly setting--network=podman
onpodman run
, works.Steps to reproduce the issue
Steps to reproduce the issue
[network]\ndefault_network = "podman"
to$HOME/.config/containers/containers.conf
podman run
again.Describe the results you received
Containers are still not using the bridged network
podman
.Describe the results you expected
Containers used the
podman
network by default.podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: