-
I can access my container off the public port no problem, but I am unable to get the containers to access the internet, other containers, or something running on the local server like a DB. Using I am running Ubuntu Server 21.10, I have no firewall on the machine. What could be preventing my containers from communicating on anything other than the ports they have defined? Example of how I am running a container:
My .conflist:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The CNI bridge plugin is designed to create its own bridge interface and not to reuse an existing bridge. I think it is possible that the KVM iptables rules conflict with the ones created by CNI. |
Beta Was this translation helpful? Give feedback.
-
Looking at your provided CNI config: Did you intend to do this? I don't think it will prevent containers on the same bridge from talking to each other, but it definitely will prevent them from getting to the internet or the host system. |
Beta Was this translation helpful? Give feedback.
Looking at your provided CNI config:
"isGateway": false,
Did you intend to do this? I don't think it will prevent containers on the same bridge from talking to each other, but it definitely will prevent them from getting to the internet or the host system.