-
Notifications
You must be signed in to change notification settings - Fork 494
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
compose does not use pasta network #967
Comments
Same issue here, I'm having issues creating rootless containers because (i think) of this error.
|
I also found that this issue happens with podman as well, without compose This works:
This doesn't work:
|
Missing package perhaps?
…On Tue, Oct 15, 2024, 2:14 PM Jaime Hidalgo García ***@***.***> wrote:
I also found that this issue happens with podman as well, without compose
This works:
podman run -d -p 8000:8000/udp ubuntu:latest sleep infinity
This doesn't work:
podman network create infra
podman run --network=infra -d -p 8000:8000/udp ubuntu:latest sleep infinity
Error: netavark: iptables: No such file or directory (os error 2)
—
Reply to this email directly, view it on GitHub
<#967 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGHHXMK6O6PUGWKXPSEWU3Z3VLQPAVCNFSM6AAAAABJSMG43SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGY4TSOJSG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Well, you are right in that, but it's still confusing. So, if I configure the system as this using root:
Then, it works, but I'm not sure if it's using Pasta
|
I could never see "pasta". But all my configurations are working. I have
inter comms and inbound connections. I have not tried creating new networks
or internetwork connections.
…On Tue, Oct 15, 2024, 2:23 PM Jaime Hidalgo García ***@***.***> wrote:
Well, you are right in that, but it's still confusing.
So, if I configure the system as this using root:
dnf install netavark # this would also install dependencies: iptables-libs, iptables-legacy and iptables-legacy-libs
modprobe ip_tables
Then, it works, but I'm not sure if it's using Pasta
podman inspect 28c2d0e259f2acc96287552db59d7bd788b140fcfb818fe9b17a81cf30c2a9c4 | grep Net
"NetworkSettings": {
"Networks": {
"NetworkID": "infra",
"NetworkMode": "bridge",
—
Reply to this email directly, view it on GitHub
<#967 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGHHXOXBIFQMVC7T7KIGQTZ3VMRRAVCNFSM6AAAAABJSMG43SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUG4YTOMBSGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I think that your description is accurate. It's basically working (if you have the right packages, which I was missing in my first experiments -iptables and ip_tables kernel module-), but it doesn't use pasta when creating a network or using compose. |
Compose is all another beast. Brace yourself.
…On Tue, Oct 15, 2024, 2:28 PM Jaime Hidalgo García ***@***.***> wrote:
I think that your description is accurate. It's basically working (if you
have the right packages, which I was missing in my first experiments
-iptables and ip_tables kernel module-), *but it doesn't use pasta* when
creating a network or using compose.
—
Reply to this email directly, view it on GitHub
<#967 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGHHXK7QMGXWXUHLOU6HU3Z3VNFFAVCNFSM6AAAAABJSMG43SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUG4ZDMNZVGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Describe the bug
i can't figure out how to make compose to use the pasta network mode.
please try to reproduce the bug in latest devel branch
To Reproduce
Steps to reproduce the behavior:
podman-compose version 1.1.0
podman version 4.9.4
Fedora release 39 (Thirty Nine)
I reset the system and specified the default network mode ( is it mode ? or is it a driver? ) to pasta:
it looks like the compose creates a bridge network ignoring the default setting to pasta.
the addition to compose file :
has no bearing on the execution result.
Expected behavior
i expect the compose to use the (default) pasta network
Actual behavior
it doesn't
The text was updated successfully, but these errors were encountered: