我正在使用 Ubuntu 22.04.3 LTS 并拥有以下版本的 podman ( podman version
):
Version: 3.4.4
API Version: 3.4.4
Go Version: go1.18.1
Built: Thu Jan 1 01:00:00 1970
OS/Arch: linux/amd64
但在 podman 中调用几乎任何命令都会出现以下错误:
$ podman version
WARN[0000] Failed to decode the keys ["configmaps"] from "/home/theuser/.config/containers/containers.conf".
WARN[0000] Failed to decode the keys ["configmaps"] from "/home/theuser/.config/containers/containers.conf".
WARN[0000] Failed to decode the keys ["configmaps"] from "/home/theuser/.config/containers/containers.conf".
WARN[0000] Failed to decode the keys ["configmaps"] from "/home/theuser/.config/containers/containers.conf".
WARN[0000] Error validating CNI config file /home/theuser/.config/cni/net.d/gitea-net.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"]
针对这些警告我能做什么?我的文件内容containers.conf
如下:
[containers]
log_size_max = -1
pids_limit = 2048
userns_size = 65536
[engine]
num_locks = 2048
stop_timeout = 10
[machine]
[network]
[secrets]
[configmaps]
请注意,目前还没有任何配置configmaps
。