【阿里云镜像】配置Pouch镜像

简介: 【阿里云镜像】配置Pouch镜像

一、参考链接


🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈


阿里巴巴开源镜像站-OPSX镜像站-阿里云开发者社区 (aliyun.com)


💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕


pouch镜像-pouch下载地址-pouch安装教程-阿里巴巴开源镜像站 (aliyun.com)


二、pouch镜像简介


阿里巴巴正式开源了基于Apache 2.0协议的容器技术PouchPouch是一款轻量级的容器技术,拥有快速高效、可移植性高、资源占用少等特性,主要帮助阿里更快的做到内部业务的交付,同时提高超大规模下数据中心的物理资源利用率。


参考链接:阿里巴巴正式开源自研容器技术Pouch-阿里云开发者社区 (aliyun.com)


三、pouch镜像配置方法(基于CentOS 7系统配置)


1、查看主机名


[root@centos ~]# hostnamectl
   Static hostname: centos
         Icon name: computer-vm
           Chassis: vm
        Machine ID: f6fc8fb7991c4c518238af7c75f16046
           Boot ID: a5342490e7fd4891978ea3b2e7e0aaf1
    Virtualization: vmware
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-1160.el7.x86_64
      Architecture: x86-64
[root@centos ~]#


2、添加镜像文件


[root@centos ~]# vim /etc/yum.repos.d/pouch-centos7.repo
[root@centos ~]# cat /etc/yum.repos.d/pouch-centos7.repo
[pouch-stable]
name=Pouch Stable - $basearch
baseurl=http://mirrors.aliyun.com/opsx/pouch/linux/centos/7/$basearch/stable
enabled=1
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/opsx/pouch/linux/centos/gpg
[pouch-test]
name=Pouch Test - $basearch
baseurl=http://mirrors.aliyun.com/opsx/pouch/linux/centos/7/$basearch/test
enabled=0
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/opsx/pouch/linux/centos/gpg
[root@centos ~]#


3、更新YUM


将软件包信息提前在本地索引缓存 ,用来提高搜索安装软件的速度,建议执行这个命令可以提升yum安装的速度


[root@centos ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base extras pouch-stable updates
Cleaning up list of fastest mirrors
Other repos take up 145 M of disk space (use --verbose for details)
[root@centos ~]# yum makecache
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
base                                     | 3.6 kB  00:00:00     extras                                   | 2.9 kB  00:00:00     pouch-stable                             | 2.9 kB  00:00:00     updates                                  | 2.9 kB  00:00:00     (1/13): base/7/x86_64/group_gz           | 153 kB  00:00:00     (2/13): base/7/x86_64/filelists_db       | 7.2 MB  00:00:01     (3/13): extras/7/x86_64/primary_db       | 243 kB  00:00:00     (4/13): extras/7/x86_64/filelists_db     | 259 kB  00:00:00     (5/13): pouch-stable/x86_64/primary_db   | 8.0 kB  00:00:00     (6/13): extras/7/x86_64/other_db         | 145 kB  00:00:00     (7/13): pouch-stable/x86_64/other_db     | 1.4 kB  00:00:00     (8/13): pouch-stable/x86_64/filelists_db | 3.1 kB  00:00:00     (9/13): base/7/x86_64/other_db           | 2.6 MB  00:00:00     (10/13): base/7/x86_64/primary_db        | 6.1 MB  00:00:02     (11/13): updates/7/x86_64/filelists_db   | 7.0 MB  00:00:01     (12/13): updates/7/x86_64/other_db       | 903 kB  00:00:00     (13/13): updates/7/x86_64/primary_db     |  13 MB  00:00:02     Metadata Cache Created
[root@centos ~]#


4、安装pouch


[root@centos ~]# yum install pouch
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package pouch.x86_64 0:1.3.0-1.el7 will be installed
--> Processing Dependency: pam-devel for package: pouch-1.3.0-1.el7.x86_64
--> Processing Dependency: fuse-devel for package: pouch-1.3.0-1.el7.x86_64
--> Running transaction check
---> Package fuse-devel.x86_64 0:2.9.2-11.el7 will be installed
---> Package pam-devel.x86_64 0:1.1.8-23.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================== Package                     Arch                    Version                        Repository                     Size
========================================================================================================================Installing:
 pouch                       x86_64                  1.3.0-1.el7                    pouch-stable                   44 M
Installing for dependencies:
 fuse-devel                  x86_64                  2.9.2-11.el7                   base                           37 k
 pam-devel                   x86_64                  1.1.8-23.el7                   base                          185 k
Transaction Summary
========================================================================================================================Install  1 Package (+2 Dependent packages)
Total download size: 45 M
Installed size: 146 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): fuse-devel-2.9.2-11.el7.x86_64.rpm                                                        |  37 kB  00:00:00     (2/3): pam-devel-1.1.8-23.el7.x86_64.rpm                                                         | 185 kB  00:00:00     warning: /var/cache/yum/x86_64/7/pouch-stable/packages/pouch-1.3.0-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 439ae9ec: NOKEY
Public key for pouch-1.3.0-1.el7.x86_64.rpm is not installed
(3/3): pouch-1.3.0-1.el7.x86_64.rpm                                                              |  44 MB  00:00:07     ------------------------------------------------------------------------------------------------------------------------Total                                                                                   5.7 MB/s |  45 MB  00:00:07     Retrieving key from http://mirrors.aliyun.com/opsx/pouch/linux/centos/gpg
Importing GPG key 0x439AE9EC:
 Userid     : "Pouch Release <pouch-dev@list.alibaba-inc.com>"
 Fingerprint: b615 ddd7 90c7 0912 582d dc2d d7ae a5ed 439a e9ec
 From       : http://mirrors.aliyun.com/opsx/pouch/linux/centos/gpg
Is this ok [y/N]:y
安装过程省略
Installed:
  pouch.x86_64 0:1.3.0-1.el7                                                                                            
Dependency Installed:
  fuse-devel.x86_64 0:2.9.2-11.el7  pam-devel.x86_64 0:1.1.8-23.el7                           
Complete!
[root@centos ~]# rpm -qa | grep pouch
pouch-1.3.0-1.el7.x86_64
[root@centos ~]#


相关文章
|
运维 安全 Cloud Native
Apsara Stack 技术百科 | 混合云全景智能化观测平台Sunfire
在企业数字化转型的浪潮中,核心业务的上云和迁云无疑是转型过程的重中之重,企业对于数字安全性及等保合规层面的需求也日益强烈,混合云成为诸多大型政府企业客户上云迁云的首选方案。随着企业云上业务的复杂化,云上云下技术栈的多样化,以及云上运维组织规模的扩大化,云上业务的稳定性和连续性面临着巨大的挑战。
4567 0
Apsara Stack 技术百科 | 混合云全景智能化观测平台Sunfire
|
11月前
|
Kubernetes Cloud Native 持续交付
Docker:轻量级容器化技术解析
Docker:轻量级容器化技术解析
|
新零售 安全 Linux
阿里巴巴正式开源自研容器技术Pouch
阿里巴巴正式开源了基于Apache 2.0协议的容器技术Pouch。Pouch是一款轻量级的容器技术,拥有快速高效、可移植性高、资源占用少等特性,主要帮助阿里更快的做到内部业务的交付,同时提高超大规模下数据中心的物理资源利用率。
9128 1
|
Ubuntu Linux pouch
Docker容器管理工具
文章介绍了Docker容器管理工具,以及早期使用的LXC容器管理工具,包括它们的安装、使用和相关技术特点。
605 10
Docker容器管理工具
|
JSON Go 数据格式
Go实现json字符串与各类struct相互转换
文章通过Go语言示例代码详细演示了如何实现JSON字符串与各类struct之间的相互转换,包括结构体对象生成JSON字符串和JSON字符串映射到struct对象的过程。
468 1
|
前端开发 JavaScript
实现瀑布流的几种方式(效果图)
实现瀑布流的几种方式(效果图)
514 0
|
机器学习/深度学习 存储 自然语言处理
利用Elasticsearch进行大规模文本分类与聚类
【8月更文第28天】文本数据在现代应用中占据着重要的位置,无论是社交媒体分析、客户反馈管理还是内容推荐系统。Elasticsearch 是一款强大的搜索引擎,非常适合用于处理大量的文本数据。本文将介绍如何利用 Elasticsearch 来实现大规模文本数据的分类与聚类分析,并提供一些具体的代码示例。
808 0
主线程等待子线程执行完毕再执行的几种方式
主线程等待子线程执行完毕再执行的几种方式
702 0
|
XML 人工智能 Go
VSCode 中使用 vim 操作
为什么要使用 Vim 呢?因为真的很高效啊!!!我已经在代码编辑器和浏览器中都安装了类 Vim 插件来提搞我的操作效率。当熟练使用 Vim 命令之后,真的可以扔掉鼠标了。
2103 0
|
JavaScript 前端开发 算法
vue和react diff算法的区别
vue和react diff算法的区别