[quadlet] [rootless] public network needed #23302
Replies: 3 comments 1 reply
-
The bridge driver should have internet connectivity by default unless the network is internal (created with --internal) |
Beta Was this translation helpful? Give feedback.
-
I already explained it in this ticket, why I have done it like that.
And I haven't found out, where exactly it is used. |
Beta Was this translation helpful? Give feedback.
-
Yes, 192.168.1.0/24 seems to provide connection and access to internet too. Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have an issue and I cannot find out solution.
I have quadlet file containers, which I need to connect each other and into internet.
It would be easier use pod for this, but I cannot use it, because I need to use UserNS=keep-id:uid=x,gid=y, where x,y is different for every container, and pod don't allow this.
So, I created network:
postgres
and main server
This is not whole structure, but it can be used as example. I need predictable ip addresses, because server needs to be connected to postgres. It cannot be just any address.
The network is working and containers can communicate each other. But I found out one container needs internet access and I don't know how to provide it. I think maybe network Driver bridge would do the thing, But I remember I selected this, because bridge returns the subnet is already used, but I haven't seen where.
default podman network is:
And It doesn't seems to have address collision with my network.
How can I solve this issue?
Beta Was this translation helpful? Give feedback.
All reactions