CentOS7安装Podman3版本

原创
2022/02/23 13:57
阅读数 2.9K

使用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了,自由的得瑟去吧。

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部