Debian cni配置的podman安装问题
我只是从reposirotyr中进行git克隆,并配置所有环境,最后在我完成安装后,我的podman版本打印如下:Debian cni配置的podman安装问题,debian,podman,cni,Debian,Podman,Cni,我只是从reposirotyr中进行git克隆,并配置所有环境,最后在我完成安装后,我的podman版本打印如下: root@PS-03:/opt/go/src/github.com/containers/libpod# podman version ERRO[0000] Error loading CNI config file /etc/cni/net.d/99-loopback.conf: error parsing configuration: missing 'type' Versi
root@PS-03:/opt/go/src/github.com/containers/libpod# podman version
ERRO[0000] Error loading CNI config file /etc/cni/net.d/99-loopback.conf: error parsing configuration: missing 'type'
Version: 3.2.0-dev
API Version: 3.2.0-dev
Go Version: go1.16.3
Git Commit: d6ec38f2eec6c9ac9e11db5cbf949a357fa13f28
Built: Sat May 1 16:21:00 2021
OS/Arch: linux/amd64
我的/etc/cni/net.d/99-loopback.conf内容是:
root@PS-03:/opt/go/src/github.com/containers/libpod# more /etc/cni/net.d/99-loopback.conf
{
"cniVersion": "0.4.0",
"name": "podman",
"plugins": [
{
"type": "bridge",
"bridge": "cni-podman0",
"isGateway": true,
"ipMasq": true,
"hairpinMode": true,
"ipam": {
"type": "host-local",
"routes": [{ "dst": "0.0.0.0/0" }],
"ranges": [
[
{
"subnet": "10.88.0.0/16",
"gateway": "10.88.0.1"
}
]
]
}
},
{
"type": "portmap",
"capabilities": {
"portMappings": true
}
},
{
"type": "firewall"
},
{
"type": "tuning"
}
]
}
有人能帮我吗?tks.这太难了,伙计们,我删除了99-loopback.conf文件,并使用了名为“87 podman bridge.conflist”的默认配置文件。现在,它看起来不错,希望它可以正常工作