containers / netavark

Container network stack
Apache License 2.0
537 stars 85 forks source link

Feature Request: enable netavark to simply connect containers without any other network action #839

Open karampok opened 1 year ago

karampok commented 1 year ago

I am using podman with CNI and specifically I am using that file

cat /etc/cni/net.d/access.conflist
{
   "cniVersion": "0.4.0",
   "name": "access",
   "plugins": [
      {
         "type": "bridge",
         "bridge": "access",
         "isGateway": false,
         "ipMasq": false,
         "hairpinMode": true,
         "ipam": {
            "type": ""
         }
      }
   ]
}

where the bridge have been created externally and manually. I would like to be able to the same.

Thanks

baude commented 1 year ago

is this something you want to work on?

mheon commented 1 year ago

Is this different from an internal network (no external route) which we support already?

Luap99 commented 1 year ago

Internal blocks routing from the bridge interface via sysctl that may be different from CNI. As for no ip addresses there is --ipam-driver=none option which should come close.