使用yum安装命令
yum install podman
默认安装的是1.xx版本,不能和minikube组合使用,minikube至少需要3.0以上版本。 大家可以添加repo【https://download.opensuse.org】
[devel_kubic_libcontainers_stable] name=Stable Releases of Upstream github.com/containers packages (CentOS_7) type=rpm-md baseurl=https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/ gpgcheck=1 gpgkey=https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/repodata/repomd.xml.c_libcontainers_stablekey enabled=1
如果安装过程中提示cri-o或者libcontainers-common不兼容,那么使用
rpm -qa | grep container
看看是不是系统已经存在containers.io或者containers-common库,那么删除之,然后安装。
这回应该可以正常安装podman了,自由的得瑟去吧。