CentOS7部署阿里巴巴开源的pouch容器管理工具实战
作者:尹正杰
版权声明:原创作品,谢绝转载!否则将追究法律责任。
一.安装CentOS7.6操作系统
该过程过于简单,且CentOS 7各个版本之间部署方式几乎雷同,可参考我之前的笔记:"https://www.cnblogs.com/yinzhengjie/p/10181840.html" 生产环境如果你要安装docker的话建议使用CentOS7.2以上版本,如果使用的版本较低可能会出现docker无法启动的情况。
二.安装pouch容器管理工具
1>.查看操作环境
[root@docker201.yinzhengjie.org.cn ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) [root@docker201.yinzhengjie.org.cn ~]# [root@docker201.yinzhengjie.org.cn ~]# uname -r 3.10.0-957.el7.x86_64 [root@docker201.yinzhengjie.org.cn ~]# [root@docker201.yinzhengjie.org.cn ~]# uname -m x86_64 [root@docker201.yinzhengjie.org.cn ~]#
2>.下载阿里的软件源
[root@docker201.yinzhengjie.org.cn ~]# wget http://mirrors.aliyun.com/opsx/pouch/centos7.repo -O /etc/yum.repos.d/pouch-centos7.repo --2020-01-13 18:39:37-- http://mirrors.aliyun.com/opsx/pouch/centos7.repo Resolving mirrors.aliyun.com (mirrors.aliyun.com)... 27.221.92.123, 110.249.197.229, 119.167.168.229, ... Connecting to mirrors.aliyun.com (mirrors.aliyun.com)|27.221.92.123|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 403 [application/octet-stream] Saving to: ‘/etc/yum.repos.d/pouch-centos7.repo’ 100%[====================================================================================================================================================================================================================================>] 403 --.-K/s in 0s 2020-01-13 18:39:37 (126 MB/s) - ‘/etc/yum.repos.d/pouch-centos7.repo’ saved [403/403] [root@docker201.yinzhengjie.org.cn ~]#