misc/example/10-containerd-net.conflist
raw| 1 | { |
| 2 | "cniVersion": "1.0.0", |
| 3 | "name": "containerd-net", |
| 4 | "plugins": [ |
| 5 | { |
| 6 | "type": "bridge", |
| 7 | "bridge": "cni0", |
| 8 | "isGateway": true, |
| 9 | "ipMasq": true, |
| 10 | "promiscMode": true, |
| 11 | "ipam": { |
| 12 | "type": "host-local", |
| 13 | "subnet": "10.88.0.0/16", |
| 14 | "routes": [ |
| 15 | { "dst": "0.0.0.0/0" } |
| 16 | ] |
| 17 | } |
| 18 | }, |
| 19 | { |
| 20 | "type": "portmap", |
| 21 | "capabilities": {"portMappings": true} |
| 22 | } |
| 23 | ] |
| 24 | } |