summaryrefslogtreecommitdiffstats
path: root/debian/examples/cni/net.d/87-podman-bridge.conflist
blob: f65895a887d3ec767a4e304205c952716f513a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  "cniVersion": "0.4.0",
  "name": "podman",
  "plugins": [
    {
        "type": "bridge",
            "Documentation": "/usr/share/doc/containernetworking-plugins/main_bridge.md",
        "bridge": "cni-podman0",
        "isGateway": true,
        "ipMasq": true,
        "ipam": {
            "type": "host-local",
                "Documentation": "/usr/share/doc/containernetworking-plugins/ipam_host-local.md",
            "routes": [
                { "dst": "0.0.0.0/0" }
            ],
            "ranges": [
                [
                    { "subnet": "10.88.0.0/16", "gateway": "10.88.0.1" }
                ]
            ]
        }
    },

    {
        "type": "portmap",
            "Documentation": "/usr/share/doc/containernetworking-plugins/meta_portmap.md",
        "capabilities": { "portMappings": true }
    },

    {
        "type": "firewall",
            "Documentation": "/usr/share/doc/containernetworking-plugins/meta_firewall.md",
        "backend": "iptables"
    }
  ]
}