centos7 yum获取软件所有依赖包 创建本地yum源 离线安装软件
- 1、以安装docker 20.10为例
- 2、centos7 yum获取docker 20.10 所有依赖包
- 3、创建本地docker yum源
- 4、yum使用本地docker源 离线安装docker
1、以安装docker 20.10为例
参考链接:
添加docker 清华软件源
yum install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sed -i 's+https://download.docker.com+https://mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo
2、centos7 yum获取docker 20.10 所有依赖包
yum list docker-ce --showduplicates|sort -r
在1个能访问互联网的机器上 下载docker 20.10所有依赖包
参考链接: https://unix.stackexchange.com/questions/259640/how-to-use-yum-to-get-all-rpms-required-for-offline-use
mkdir /var/tmp/docker
mkdir /var/tmp/docker-installroot
yum install --downloadonly --installroot=/var/tmp/docker-installroot --releasever=7 --downloaddir=/var/tmp/docker docker-ce-20.10.0
此命令把docker 20.10所有依赖包下载到 /var/tmp/docker 下面。
/var/tmp/docker-installroot 目录下则会放一些下载产生的元数据信息。
[root@localhost ~]# yum install --downloadonly --installroot=/var/tmp/docker-installroot --releasever=7 --downloaddir=/var/tmp/docker docker-ce-20.10.0
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
epel/x86_64/metalink | 5.8 kB 00:00:00 * base: mirrors.aliyun.com* centos-sclo-rh: mirrors.aliyun.com* centos-sclo-sclo: mirrors.bfsu.edu.cn* epel: mirrors.bfsu.edu.cn* extras: mirrors.aliyun.com* updates: mirrors.aliyun.com
base | 3.6 kB 00:00:00
centos-sclo-rh | 3.0 kB 00:00:00
centos-sclo-sclo | 3.0 kB 00:00:00
docker-ce-stable | 3.5 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package docker-ce.x86_64 3:20.10.0-3.el7 will be installed
--> Processing Dependency: container-selinux >= 2:2.74 for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: containerd.io >= 1.4.1 for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libseccomp >= 2.3 for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: /bin/sh for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: /bin/sh for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: /usr/sbin/groupadd for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: docker-ce-cli for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: docker-ce-rootless-extras for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: iptables for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libcgroup for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libdevmapper.so.1.02(Base)(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libdevmapper.so.1.02(DM_1_02_97)(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libdl.so.2(GLIBC_2.2.5)(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.2.5)(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.3.2)(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: rtld(GNU_HASH) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: systemd for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: tar for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: xz for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.3)(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libdevmapper.so.1.02()(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libdl.so.2()(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libpthread.so.0()(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: 3:docker-ce-20.10.0-3.el7.x86_64
--> Running transaction check
---> Package bash.x86_64 0:4.2.46-35.el7_9 will be installed
--> Processing Dependency: libtinfo.so.5()(64bit) for package: bash-4.2.46-35.el7_9.x86_64
---> Package container-selinux.noarch 2:2.119.2-1.911c772.el7_8 will be installed
--> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.119.2-1.911c772.el7_8.noarch
--> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.119.2-1.911c772.el7_8.noarch
--> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.119.2-1.911c772.el7_8.noarch
--> Processing Dependency: policycoreutils >= 2.5-11 for package: 2:container-selinux-2.119.2-1.911c772.el7_8.noarch
--> Processing Dependency: sed for package: 2:container-selinux-2.119.2-1.911c772.el7_8.noarch
--> Processing Dependency: policycoreutils-python for package: 2:container-selinux-2.119.2-1.911c772.el7_8.noarch
--> Processing Dependency: libselinux-utils for package: 2:container-selinux-2.119.2-1.911c772.el7_8.noarch
---> Package containerd.io.x86_64 0:1.6.22-3.1.el7 will be installed
---> Package device-mapper-libs.x86_64 7:1.02.170-6.el7_9.5 will be installed
--> Processing Dependency: device-mapper = 7:1.02.170-6.el7_9.5 for package: 7:device-mapper-libs-1.02.170-6.el7_9.5.x86_64
--> Processing Dependency: libsepol.so.1()(64bit) for package: 7:device-mapper-libs-1.02.170-6.el7_9.5.x86_64
--> Processing Dependency: libselinux.so.1()(64bit) for package: 7:device-mapper-libs-1.02.170-6.el7_9.5.x86_64
---> Package docker-ce-cli.x86_64 1:24.0.5-1.el7 will be installed
--> Processing Dependency: docker-buildx-plugin for package: 1:docker-ce-cli-24.0.5-1.el7.x86_64
--> Processing Dependency: docker-compose-plugin for package: 1:docker-ce-cli-24.0.5-1.el7.x86_64
---> Package docker-ce-rootless-extras.x86_64 0:24.0.5-1.el7 will be installed
--> Processing Dependency: fuse-overlayfs >= 0.7 for package: docker-ce-rootless-extras-24.0.5-1.el7.x86_64
--> Processing Dependency: slirp4netns >= 0.4 for package: docker-ce-rootless-extras-24.0.5-1.el7.x86_64
---> Package glibc.x86_64 0:2.17-326.el7_9 will be installed
--> Processing Dependency: glibc-common = 2.17-326.el7_9 for package: glibc-2.17-326.el7_9.x86_64
--> Processing Dependency: libgcc for package: glibc-2.17-326.el7_9.x86_64
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3)(64bit) for package: glibc-2.17-326.el7_9.x86_64
--> Processing Dependency: basesystem for package: glibc-2.17-326.el7_9.x86_64
--> Processing Dependency: libfreebl3.so()(64bit) for package: glibc-2.17-326.el7_9.x86_64
---> Package iptables.x86_64 0:1.4.21-35.el7 will be installed
--> Processing Dependency: libnfnetlink.so.0()(64bit) for package: iptables-1.4.21-35.el7.x86_64
--> Processing Dependency: libnetfilter_conntrack.so.3()(64bit) for package: iptables-1.4.21-35.el7.x86_64
---> Package libcgroup.x86_64 0:0.41-21.el7 will be installed
---> Package libseccomp.x86_64 0:2.3.1-4.el7 will be installed
---> Package shadow-utils.x86_64 2:4.6-5.el7 will be installed
--> Processing Dependency: audit-libs >= 1.6.5 for package: 2:shadow-utils-4.6-5.el7.x86_64
--> Processing Dependency: setup for package: 2:shadow-utils-4.6-5.el7.x86_64
--> Processing Dependency: libsemanage.so.1(LIBSEMANAGE_1.0)(64bit) for package: 2:shadow-utils-4.6-5.el7.x86_64
--> Processing Dependency: libattr.so.1(ATTR_1.1)(64bit) for package: 2:shadow-utils-4.6-5.el7.x86_64
--> Processing Dependency: libacl.so.1(ACL_1.1)(64bit) for package: 2:shadow-utils-4.6-5.el7.x86_64
--> Processing Dependency: coreutils for package: 2:shadow-utils-4.6-5.el7.x86_64
--> Processing Dependency: libsemanage.so.1()(64bit) for package: 2:shadow-utils-4.6-5.el7.x86_64
--> Processing Dependency: libaudit.so.1()(64bit) for package: 2:shadow-utils-4.6-5.el7.x86_64
--> Processing Dependency: libattr.so.1()(64bit) for package: 2:shadow-utils-4.6-5.el7.x86_64
--> Processing Dependency: libacl.so.1()(64bit) for package: 2:shadow-utils-4.6-5.el7.x86_64
---> Package systemd.x86_64 0:219-78.el7_9.7 will be installed
--> Processing Dependency: redhat-release >= 7.0 for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: kmod >= 18-4 for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libpam.so.0(LIBPAM_1.0)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libmount.so.1(MOUNT_2.20)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libmount.so.1(MOUNT_2.19)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: liblzma.so.5(XZ_5.0)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libkmod.so.2(LIBKMOD_5)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libgcrypt.so.11(GCRYPT_1.2)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libelf.so.1(ELFUTILS_1.0)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libdw.so.1(ELFUTILS_0.158)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libcryptsetup.so.12(CRYPTSETUP_2.0)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libblkid.so.1(BLKID_2.18)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libblkid.so.1(BLKID_2.17)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libblkid.so.1(BLKID_2.15)(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: gawk for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: diffutils for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: dbus for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: acl for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libz.so.1()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libqrencode.so.3()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libpam.so.0()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libmount.so.1()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: liblzma.so.5()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: liblz4.so.1()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libkmod.so.2()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libgcrypt.so.11()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libelf.so.1()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libdw.so.1()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libcurl.so.4()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libcryptsetup.so.12()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libcap.so.2()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libbz2.so.1()(64bit) for package: systemd-219-78.el7_9.7.x86_64
--> Processing Dependency: libblkid.so.1()(64bit) for package: systemd-219-78.el7_9.7.x86_64
---> Package systemd-libs.x86_64 0:219-78.el7_9.7 will be installed
--> Processing Dependency: libgpg-error.so.0()(64bit) for package: systemd-libs-219-78.el7_9.7.x86_64
---> Package tar.x86_64 2:1.26-35.el7 will be installed
--> Processing Dependency: /sbin/install-info for package: 2:tar-1.26-35.el7.x86_64
--> Processing Dependency: /sbin/install-info for package: 2:tar-1.26-35.el7.x86_64
---> Package xz.x86_64 0:5.2.2-2.el7_9 will be installed
--> Running transaction check
---> Package acl.x86_64 0:2.2.51-15.el7 will be installed
---> Package audit-libs.x86_64 0:2.8.5-4.el7 will be installed
--> Processing Dependency: libcap-ng.so.0()(64bit) for package: audit-libs-2.8.5-4.el7.x86_64
---> Package basesystem.noarch 0:10.0-7.el7.centos will be installed
--> Processing Dependency: filesystem for package: basesystem-10.0-7.el7.centos.noarch
---> Package bzip2-libs.x86_64 0:1.0.6-13.el7 will be installed
---> Package centos-release.x86_64 0:7-9.2009.1.el7.centos will be installed
---> Package coreutils.x86_64 0:8.22-24.el7_9.2 will be installed
--> Processing Dependency: ncurses for package: coreutils-8.22-24.el7_9.2.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: coreutils-8.22-24.el7_9.2.x86_64
--> Processing Dependency: grep for package: coreutils-8.22-24.el7_9.2.x86_64
--> Processing Dependency: gmp for package: coreutils-8.22-24.el7_9.2.x86_64
--> Processing Dependency: libgmp.so.10()(64bit) for package: coreutils-8.22-24.el7_9.2.x86_64
--> Processing Dependency: libcrypto.so.10()(64bit) for package: coreutils-8.22-24.el7_9.2.x86_64
---> Package cryptsetup-libs.x86_64 0:2.0.3-6.el7 will be installed
--> Processing Dependency: libuuid.so.1(UUID_1.0)(64bit) for package: cryptsetup-libs-2.0.3-6.el7.x86_64
--> Processing Dependency: libuuid.so.1()(64bit) for package: cryptsetup-libs-2.0.3-6.el7.x86_64
--> Processing Dependency: libjson-c.so.2()(64bit) for package: cryptsetup-libs-2.0.3-6.el7.x86_64
---> Package dbus.x86_64 1:1.10.24-15.el7 will be installed
--> Processing Dependency: dbus-libs(x86-64) = 1:1.10.24-15.el7 for package: 1:dbus-1.10.24-15.el7.x86_64
--> Processing Dependency: libdbus-1.so.3(LIBDBUS_PRIVATE_1.10.24)(64bit) for package: 1:dbus-1.10.24-15.el7.x86_64
--> Processing Dependency: libdbus-1.so.3(LIBDBUS_1_3)(64bit) for package: 1:dbus-1.10.24-15.el7.x86_64
--> Processing Dependency: libexpat.so.1()(64bit) for package: 1:dbus-1.10.24-15.el7.x86_64
--> Processing Dependency: libdbus-1.so.3()(64bit) for package: 1:dbus-1.10.24-15.el7.x86_64
---> Package device-mapper.x86_64 7:1.02.170-6.el7_9.5 will be installed
--> Processing Dependency: util-linux >= 2.23 for package: 7:device-mapper-1.02.170-6.el7_9.5.x86_64
---> Package diffutils.x86_64 0:3.3-6.el7_9 will be installed
---> Package docker-buildx-plugin.x86_64 0:0.11.2-1.el7 will be installed
---> Package docker-compose-plugin.x86_64 0:2.20.2-1.el7 will be installed
---> Package elfutils-libelf.x86_64 0:0.176-5.el7 will be installed
---> Package elfutils-libs.x86_64 0:0.176-5.el7 will be installed
--> Processing Dependency: default-yama-scope for package: elfutils-libs-0.176-5.el7.x86_64
---> Package fuse-overlayfs.x86_64 0:0.7.2-6.el7_8 will be installed
--> Processing Dependency: libfuse3.so.3(FUSE_3.2)(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64
--> Processing Dependency: libfuse3.so.3(FUSE_3.0)(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64
--> Processing Dependency: libfuse3.so.3()(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64
---> Package gawk.x86_64 0:4.0.2-4.el7_3.1 will be installed
---> Package glibc-common.x86_64 0:2.17-326.el7_9 will be installed
--> Processing Dependency: tzdata >= 2003a for package: glibc-common-2.17-326.el7_9.x86_64
---> Package info.x86_64 0:5.1-5.el7 will be installed
---> Package kmod.x86_64 0:20-28.el7 will be installed
--> Processing Dependency: dracut for package: kmod-20-28.el7.x86_64
--> Processing Dependency: /usr/bin/nm for package: kmod-20-28.el7.x86_64
--> Processing Dependency: /usr/bin/gzip for package: kmod-20-28.el7.x86_64
--> Processing Dependency: /usr/bin/cpio for package: kmod-20-28.el7.x86_64
---> Package kmod-libs.x86_64 0:20-28.el7 will be installed
---> Package libacl.x86_64 0:2.2.51-15.el7 will be installed
---> Package libattr.x86_64 0:2.4.46-13.el7 will be installed
---> Package libblkid.x86_64 0:2.23.2-65.el7_9.1 will be installed
---> Package libcap.x86_64 0:2.22-11.el7 will be installed
---> Package libcurl.x86_64 0:7.29.0-59.el7_9.1 will be installed
--> Processing Dependency: nss-pem(x86-64) >= 1.0.3-5 for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libssh2(x86-64) >= 1.8.0 for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libssl3.so(NSS_3.4)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libssl3.so(NSS_3.2)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libssl3.so(NSS_3.14)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libssl3.so(NSS_3.11.4)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.9.3)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.9.2)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.5)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.4)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.34)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.3)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.2)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.12.5)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.12.1)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so(NSS_3.10)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libidn.so.11(LIBIDN_1.0)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libssl3.so()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libssh2.so.1()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libsmime3.so()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libplds4.so()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libplc4.so()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnssutil3.so()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnss3.so()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libnspr4.so()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libldap-2.4.so.2()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: liblber-2.4.so.2()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libkrb5.so.3()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libk5crypto.so.3()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libidn.so.11()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libgssapi_krb5.so.2()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
--> Processing Dependency: libcom_err.so.2()(64bit) for package: libcurl-7.29.0-59.el7_9.1.x86_64
---> Package libgcc.x86_64 0:4.8.5-44.el7 will be installed
---> Package libgcrypt.x86_64 0:1.5.3-14.el7 will be installed
---> Package libgpg-error.x86_64 0:1.12-3.el7 will be installed
---> Package libmount.x86_64 0:2.23.2-65.el7_9.1 will be installed
---> Package libnetfilter_conntrack.x86_64 0:1.0.6-1.el7_3 will be installed
--> Processing Dependency: libmnl.so.0(LIBMNL_1.1)(64bit) for package: libnetfilter_conntrack-1.0.6-1.el7_3.x86_64
--> Processing Dependency: libmnl.so.0(LIBMNL_1.0)(64bit) for package: libnetfilter_conntrack-1.0.6-1.el7_3.x86_64
--> Processing Dependency: libmnl.so.0()(64bit) for package: libnetfilter_conntrack-1.0.6-1.el7_3.x86_64
---> Package libnfnetlink.x86_64 0:1.0.1-4.el7 will be installed
---> Package libselinux.x86_64 0:2.5-15.el7 will be installed
--> Processing Dependency: pcre for package: libselinux-2.5-15.el7.x86_64
--> Processing Dependency: libpcre.so.1()(64bit) for package: libselinux-2.5-15.el7.x86_64
---> Package libselinux-utils.x86_64 0:2.5-15.el7 will be installed
---> Package libsemanage.x86_64 0:2.5-14.el7 will be installed
--> Processing Dependency: libustr-1.0.so.1(USTR_1.0.1)(64bit) for package: libsemanage-2.5-14.el7.x86_64
--> Processing Dependency: libustr-1.0.so.1(USTR_1.0)(64bit) for package: libsemanage-2.5-14.el7.x86_64
--> Processing Dependency: libustr-1.0.so.1()(64bit) for package: libsemanage-2.5-14.el7.x86_64
---> Package libsepol.x86_64 0:2.5-10.el7 will be installed
---> Package lz4.x86_64 0:1.8.3-1.el7 will be installed
---> Package ncurses-libs.x86_64 0:5.9-14.20130511.el7_4 will be installed
--> Processing Dependency: ncurses-base = 5.9-14.20130511.el7_4 for package: ncurses-libs-5.9-14.20130511.el7_4.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4)(64bit) for package: ncurses-libs-5.9-14.20130511.el7_4.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3)(64bit) for package: ncurses-libs-5.9-14.20130511.el7_4.x86_64
--> Processing Dependency: libstdc++.so.6()(64bit) for package: ncurses-libs-5.9-14.20130511.el7_4.x86_64
---> Package nss-softokn-freebl.x86_64 0:3.79.0-4.el7_9 will be installed
---> Package pam.x86_64 0:1.1.8-23.el7 will be installed
--> Processing Dependency: libpwquality >= 0.9.9 for package: pam-1.1.8-23.el7.x86_64
--> Processing Dependency: cracklib-dicts >= 2.8 for package: pam-1.1.8-23.el7.x86_64
--> Processing Dependency: libdb-5.3.so()(64bit) for package: pam-1.1.8-23.el7.x86_64
--> Processing Dependency: libcrack.so.2()(64bit) for package: pam-1.1.8-23.el7.x86_64
---> Package policycoreutils.x86_64 0:2.5-34.el7 will be installed
--> Processing Dependency: rpm for package: policycoreutils-2.5-34.el7.x86_64
---> Package policycoreutils-python.x86_64 0:2.5-34.el7 will be installed
--> Processing Dependency: python(abi) = 2.7 for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: setools-libs >= 3.3.8-4 for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libsemanage-python >= 2.5-14 for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libselinux-python for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: /usr/bin/python for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
---> Package qrencode-libs.x86_64 0:3.4.1-3.el7 will be installed
---> Package sed.x86_64 0:4.2.2-7.el7 will be installed
---> Package selinux-policy.noarch 0:3.13.1-268.el7_9.2 will be installed
---> Package selinux-policy-targeted.noarch 0:3.13.1-268.el7_9.2 will be installed
---> Package setup.noarch 0:2.8.71-11.el7 will be installed
---> Package slirp4netns.x86_64 0:0.4.3-4.el7_8 will be installed
--> Processing Dependency: libglib-2.0.so.0()(64bit) for package: slirp4netns-0.4.3-4.el7_8.x86_64
---> Package xz-libs.x86_64 0:5.2.2-2.el7_9 will be installed
---> Package zlib.x86_64 0:1.2.7-21.el7_9 will be installed
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.8.5-4.el7 will be installed
---> Package binutils.x86_64 0:2.27-44.base.el7_9.1 will be installed
--> Processing Dependency: /usr/sbin/alternatives for package: binutils-2.27-44.base.el7_9.1.x86_64
--> Processing Dependency: /usr/sbin/alternatives for package: binutils-2.27-44.base.el7_9.1.x86_64
---> Package checkpolicy.x86_64 0:2.5-8.el7 will be installed
---> Package cpio.x86_64 0:2.11-28.el7 will be installed
---> Package cracklib.x86_64 0:2.9.0-11.el7 will be installed
---> Package cracklib-dicts.x86_64 0:2.9.0-11.el7 will be installed
---> Package dbus-libs.x86_64 1:1.10.24-15.el7 will be installed
---> Package dracut.x86_64 0:033-572.el7 will be installed
--> Processing Dependency: procps-ng for package: dracut-033-572.el7.x86_64
--> Processing Dependency: kpartx for package: dracut-033-572.el7.x86_64
--> Processing Dependency: hardlink for package: dracut-033-572.el7.x86_64
--> Processing Dependency: findutils for package: dracut-033-572.el7.x86_64
--> Processing Dependency: /usr/bin/pkg-config for package: dracut-033-572.el7.x86_64
---> Package elfutils-default-yama-scope.noarch 0:0.176-5.el7 will be installed
---> Package expat.x86_64 0:2.1.0-15.el7_9 will be installed
---> Package filesystem.x86_64 0:3.2-25.el7 will be installed
---> Package fuse3-libs.x86_64 0:3.6.1-4.el7 will be installed
---> Package glib2.x86_64 0:2.56.1-9.el7_9 will be installed
--> Processing Dependency: shared-mime-info for package: glib2-2.56.1-9.el7_9.x86_64
--> Processing Dependency: libffi.so.6()(64bit) for package: glib2-2.56.1-9.el7_9.x86_64
---> Package gmp.x86_64 1:6.0.0-15.el7 will be installed
---> Package grep.x86_64 0:2.20-3.el7 will be installed
---> Package gzip.x86_64 0:1.5-11.el7_9 will be installed
---> Package json-c.x86_64 0:0.11-4.el7_0 will be installed
---> Package krb5-libs.x86_64 0:1.15.1-55.el7_9 will be installed
--> Processing Dependency: keyutils-libs >= 1.5.8 for package: krb5-libs-1.15.1-55.el7_9.x86_64
--> Processing Dependency: libkeyutils.so.1(KEYUTILS_1.5)(64bit) for package: krb5-libs-1.15.1-55.el7_9.x86_64
--> Processing Dependency: libkeyutils.so.1(KEYUTILS_1.0)(64bit) for package: krb5-libs-1.15.1-55.el7_9.x86_64
--> Processing Dependency: libkeyutils.so.1(KEYUTILS_0.3)(64bit) for package: krb5-libs-1.15.1-55.el7_9.x86_64
--> Processing Dependency: libverto.so.1()(64bit) for package: krb5-libs-1.15.1-55.el7_9.x86_64
--> Processing Dependency: libkeyutils.so.1()(64bit) for package: krb5-libs-1.15.1-55.el7_9.x86_64
---> Package libcap-ng.x86_64 0:0.7.5-4.el7 will be installed
---> Package libcom_err.x86_64 0:1.42.9-19.el7 will be installed
---> Package libdb.x86_64 0:5.3.21-25.el7 will be installed
---> Package libidn.x86_64 0:1.28-4.el7 will be installed
---> Package libmnl.x86_64 0:1.0.3-7.el7 will be installed
---> Package libpwquality.x86_64 0:1.2.3-5.el7 will be installed
---> Package libselinux-python.x86_64 0:2.5-15.el7 will be installed
---> Package libsemanage-python.x86_64 0:2.5-14.el7 will be installed
---> Package libssh2.x86_64 0:1.8.0-4.el7 will be installed
---> Package libstdc++.x86_64 0:4.8.5-44.el7 will be installed
---> Package libuuid.x86_64 0:2.23.2-65.el7_9.1 will be installed
---> Package ncurses.x86_64 0:5.9-14.20130511.el7_4 will be installed
---> Package ncurses-base.noarch 0:5.9-14.20130511.el7_4 will be installed
---> Package nspr.x86_64 0:4.34.0-3.1.el7_9 will be installed
---> Package nss.x86_64 0:3.79.0-5.el7_9 will be installed
--> Processing Dependency: nss-softokn(x86-64) >= 3.79.0-1 for package: nss-3.79.0-5.el7_9.x86_64
--> Processing Dependency: nss-system-init for package: nss-3.79.0-5.el7_9.x86_64
---> Package nss-pem.x86_64 0:1.0.3-7.el7_9.1 will be installed
---> Package nss-util.x86_64 0:3.79.0-1.el7_9 will be installed
---> Package openldap.x86_64 0:2.4.44-25.el7_9 will be installed
--> Processing Dependency: nss-tools for package: openldap-2.4.44-25.el7_9.x86_64
--> Processing Dependency: libsasl2.so.3()(64bit) for package: openldap-2.4.44-25.el7_9.x86_64
---> Package openssl-libs.x86_64 1:1.0.2k-26.el7_9 will be installed
--> Processing Dependency: ca-certificates >= 2008-5 for package: 1:openssl-libs-1.0.2k-26.el7_9.x86_64
---> Package pcre.x86_64 0:8.32-17.el7 will be installed
---> Package python.x86_64 0:2.7.5-93.el7_9 will be installed
---> Package python-IPy.noarch 0:0.75-6.el7 will be installed
---> Package python-libs.x86_64 0:2.7.5-93.el7_9 will be installed
--> Processing Dependency: libsqlite3.so.0()(64bit) for package: python-libs-2.7.5-93.el7_9.x86_64
--> Processing Dependency: libreadline.so.6()(64bit) for package: python-libs-2.7.5-93.el7_9.x86_64
--> Processing Dependency: libgdbm_compat.so.4()(64bit) for package: python-libs-2.7.5-93.el7_9.x86_64
--> Processing Dependency: libgdbm.so.4()(64bit) for package: python-libs-2.7.5-93.el7_9.x86_64
---> Package rpm.x86_64 0:4.11.3-48.el7_9 will be installed
--> Processing Dependency: popt(x86-64) >= 1.10.2.1 for package: rpm-4.11.3-48.el7_9.x86_64
--> Processing Dependency: libpopt.so.0(LIBPOPT_0)(64bit) for package: rpm-4.11.3-48.el7_9.x86_64
--> Processing Dependency: curl for package: rpm-4.11.3-48.el7_9.x86_64
--> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-48.el7_9.x86_64
--> Processing Dependency: librpmio.so.3()(64bit) for package: rpm-4.11.3-48.el7_9.x86_64
--> Processing Dependency: librpm.so.3()(64bit) for package: rpm-4.11.3-48.el7_9.x86_64
--> Processing Dependency: libpopt.so.0()(64bit) for package: rpm-4.11.3-48.el7_9.x86_64
--> Processing Dependency: liblua-5.1.so()(64bit) for package: rpm-4.11.3-48.el7_9.x86_64
---> Package setools-libs.x86_64 0:3.3.8-4.el7 will be installed
--> Processing Dependency: libxml2.so.2(LIBXML2_2.5.0)(64bit) for package: setools-libs-3.3.8-4.el7.x86_64
--> Processing Dependency: libxml2.so.2(LIBXML2_2.4.30)(64bit) for package: setools-libs-3.3.8-4.el7.x86_64
--> Processing Dependency: libxml2.so.2()(64bit) for package: setools-libs-3.3.8-4.el7.x86_64
---> Package tzdata.noarch 0:2023c-1.el7 will be installed
---> Package ustr.x86_64 0:1.0.4-16.el7 will be installed
---> Package util-linux.x86_64 0:2.23.2-65.el7_9.1 will be installed
--> Processing Dependency: libsmartcols = 2.23.2-65.el7_9.1 for package: util-linux-2.23.2-65.el7_9.1.x86_64
--> Processing Dependency: libutempter.so.0(UTEMPTER_1.1)(64bit) for package: util-linux-2.23.2-65.el7_9.1.x86_64
--> Processing Dependency: libsmartcols.so.1(SMARTCOLS_2.25)(64bit) for package: util-linux-2.23.2-65.el7_9.1.x86_64
--> Processing Dependency: libutempter.so.0()(64bit) for package: util-linux-2.23.2-65.el7_9.1.x86_64
--> Processing Dependency: libuser.so.1()(64bit) for package: util-linux-2.23.2-65.el7_9.1.x86_64
--> Processing Dependency: libsmartcols.so.1()(64bit) for package: util-linux-2.23.2-65.el7_9.1.x86_64
--> Running transaction check
---> Package ca-certificates.noarch 0:2022.2.54-74.el7_9 will be installed
--> Processing Dependency: p11-kit-trust >= 0.23.5 for package: ca-certificates-2022.2.54-74.el7_9.noarch
--> Processing Dependency: p11-kit >= 0.23.5 for package: ca-certificates-2022.2.54-74.el7_9.noarch
---> Package chkconfig.x86_64 0:1.7.6-1.el7 will be installed
---> Package curl.x86_64 0:7.29.0-59.el7_9.1 will be installed
---> Package cyrus-sasl-lib.x86_64 0:2.1.26-24.el7_9 will be installed
---> Package findutils.x86_64 1:4.5.11-6.el7 will be installed
---> Package gdbm.x86_64 0:1.10-8.el7 will be installed
---> Package hardlink.x86_64 1:1.0-19.el7 will be installed
---> Package keyutils-libs.x86_64 0:1.5.8-3.el7 will be installed
---> Package kpartx.x86_64 0:0.4.9-136.el7_9 will be installed
---> Package libdb-utils.x86_64 0:5.3.21-25.el7 will be installed
---> Package libffi.x86_64 0:3.0.13-19.el7 will be installed
---> Package libsmartcols.x86_64 0:2.23.2-65.el7_9.1 will be installed
---> Package libuser.x86_64 0:0.60-9.el7 will be installed
---> Package libutempter.x86_64 0:1.1.6-4.el7 will be installed
---> Package libverto.x86_64 0:0.2.5-4.el7 will be installed
---> Package libxml2.x86_64 0:2.9.1-6.el7_9.6 will be installed
---> Package lua.x86_64 0:5.1.4-15.el7 will be installed
---> Package nss-softokn.x86_64 0:3.79.0-4.el7_9 will be installed
---> Package nss-sysinit.x86_64 0:3.79.0-5.el7_9 will be installed
---> Package nss-tools.x86_64 0:3.79.0-5.el7_9 will be installed
---> Package pkgconfig.x86_64 1:0.27.1-4.el7 will be installed
---> Package popt.x86_64 0:1.13-16.el7 will be installed
---> Package procps-ng.x86_64 0:3.3.10-28.el7 will be installed
---> Package readline.x86_64 0:6.2-11.el7 will be installed
---> Package rpm-libs.x86_64 0:4.11.3-48.el7_9 will be installed
---> Package shared-mime-info.x86_64 0:1.8-5.el7 will be installed
---> Package sqlite.x86_64 0:3.7.17-8.el7_7.1 will be installed
--> Running transaction check
---> Package p11-kit.x86_64 0:0.23.5-3.el7 will be installed
---> Package p11-kit-trust.x86_64 0:0.23.5-3.el7 will be installed
--> Processing Dependency: libtasn1.so.6(LIBTASN1_0_3)(64bit) for package: p11-kit-trust-0.23.5-3.el7.x86_64
--> Processing Dependency: libtasn1.so.6()(64bit) for package: p11-kit-trust-0.23.5-3.el7.x86_64
--> Running transaction check
---> Package libtasn1.x86_64 0:4.10-1.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved============================================================================================================================================================================================Package Arch Version Repository Size
============================================================================================================================================================================================
Installing:docker-ce x86_64 3:20.10.0-3.el7 docker-ce-stable 27 M
Installing for dependencies:acl x86_64 2.2.51-15.el7 base 81 kaudit-libs x86_64 2.8.5-4.el7 base 102 kaudit-libs-python x86_64 2.8.5-4.el7 base 76 kbasesystem noarch 10.0-7.el7.centos base 5.0 kbash x86_64 4.2.46-35.el7_9 updates 1.0 Mbinutils x86_64 2.27-44.base.el7_9.1 updates 5.9 Mbzip2-libs x86_64 1.0.6-13.el7 base 40 kca-certificates noarch 2022.2.54-74.el7_9 updates 911 kcentos-release x86_64 7-9.2009.1.el7.centos updates 27 kcheckpolicy x86_64 2.5-8.el7 base 295 kchkconfig x86_64 1.7.6-1.el7 base 182 kcontainer-selinux noarch 2:2.119.2-1.911c772.el7_8 extras 40 kcontainerd.io x86_64 1.6.22-3.1.el7 docker-ce-stable 34 Mcoreutils x86_64 8.22-24.el7_9.2 updates 3.3 Mcpio x86_64 2.11-28.el7 base 211 kcracklib x86_64 2.9.0-11.el7 base 80 kcracklib-dicts x86_64 2.9.0-11.el7 base 3.6 Mcryptsetup-libs x86_64 2.0.3-6.el7 base 339 kcurl x86_64 7.29.0-59.el7_9.1 updates 271 kcyrus-sasl-lib x86_64 2.1.26-24.el7_9 updates 156 kdbus x86_64 1:1.10.24-15.el7 base 245 kdbus-libs x86_64 1:1.10.24-15.el7 base 169 kdevice-mapper x86_64 7:1.02.170-6.el7_9.5 updates 297 kdevice-mapper-libs x86_64 7:1.02.170-6.el7_9.5 updates 325 kdiffutils x86_64 3.3-6.el7_9 updates 322 kdocker-buildx-plugin x86_64 0.11.2-1.el7 docker-ce-stable 13 Mdocker-ce-cli x86_64 1:24.0.5-1.el7 docker-ce-stable 13 Mdocker-ce-rootless-extras x86_64 24.0.5-1.el7 docker-ce-stable 9.1 Mdocker-compose-plugin x86_64 2.20.2-1.el7 docker-ce-stable 13 Mdracut x86_64 033-572.el7 base 329 kelfutils-default-yama-scope noarch 0.176-5.el7 base 33 kelfutils-libelf x86_64 0.176-5.el7 base 195 kelfutils-libs x86_64 0.176-5.el7 base 291 kexpat x86_64 2.1.0-15.el7_9 updates 83 kfilesystem x86_64 3.2-25.el7 base 1.0 Mfindutils x86_64 1:4.5.11-6.el7 base 559 kfuse-overlayfs x86_64 0.7.2-6.el7_8 extras 54 kfuse3-libs x86_64 3.6.1-4.el7 extras 82 kgawk x86_64 4.0.2-4.el7_3.1 base 874 kgdbm x86_64 1.10-8.el7 base 70 kglib2 x86_64 2.56.1-9.el7_9 updates 2.5 Mglibc x86_64 2.17-326.el7_9 updates 3.6 Mglibc-common x86_64 2.17-326.el7_9 updates 12 Mgmp x86_64 1:6.0.0-15.el7 base 281 kgrep x86_64 2.20-3.el7 base 344 kgzip x86_64 1.5-11.el7_9 updates 130 khardlink x86_64 1:1.0-19.el7 base 14 kinfo x86_64 5.1-5.el7 base 233 kiptables x86_64 1.4.21-35.el7 base 432 kjson-c x86_64 0.11-4.el7_0 base 31 kkeyutils-libs x86_64 1.5.8-3.el7 base 25 kkmod x86_64 20-28.el7 base 123 kkmod-libs x86_64 20-28.el7 base 51 kkpartx x86_64 0.4.9-136.el7_9 updates 81 kkrb5-libs x86_64 1.15.1-55.el7_9 updates 810 klibacl x86_64 2.2.51-15.el7 base 27 klibattr x86_64 2.4.46-13.el7 base 18 klibblkid x86_64 2.23.2-65.el7_9.1 updates 183 klibcap x86_64 2.22-11.el7 base 47 klibcap-ng x86_64 0.7.5-4.el7 base 25 klibcgroup x86_64 0.41-21.el7 base 66 klibcom_err x86_64 1.42.9-19.el7 base 42 klibcurl x86_64 7.29.0-59.el7_9.1 updates 223 klibdb x86_64 5.3.21-25.el7 base 720 klibdb-utils x86_64 5.3.21-25.el7 base 132 klibffi x86_64 3.0.13-19.el7 base 30 klibgcc x86_64 4.8.5-44.el7 base 103 klibgcrypt x86_64 1.5.3-14.el7 base 263 klibgpg-error x86_64 1.12-3.el7 base 87 klibidn x86_64 1.28-4.el7 base 209 klibmnl x86_64 1.0.3-7.el7 base 23 klibmount x86_64 2.23.2-65.el7_9.1 updates 185 klibnetfilter_conntrack x86_64 1.0.6-1.el7_3 base 55 klibnfnetlink x86_64 1.0.1-4.el7 base 26 klibpwquality x86_64 1.2.3-5.el7 base 85 klibseccomp x86_64 2.3.1-4.el7 base 56 klibselinux x86_64 2.5-15.el7 base 162 klibselinux-python x86_64 2.5-15.el7 base 236 klibselinux-utils x86_64 2.5-15.el7 base 151 klibsemanage x86_64 2.5-14.el7 base 151 klibsemanage-python x86_64 2.5-14.el7 base 113 klibsepol x86_64 2.5-10.el7 base 297 klibsmartcols x86_64 2.23.2-65.el7_9.1 updates 143 klibssh2 x86_64 1.8.0-4.el7 base 88 klibstdc++ x86_64 4.8.5-44.el7 base 306 klibtasn1 x86_64 4.10-1.el7 base 320 klibuser x86_64 0.60-9.el7 base 400 klibutempter x86_64 1.1.6-4.el7 base 25 klibuuid x86_64 2.23.2-65.el7_9.1 updates 84 klibverto x86_64 0.2.5-4.el7 base 16 klibxml2 x86_64 2.9.1-6.el7_9.6 updates 668 klua x86_64 5.1.4-15.el7 base 201 klz4 x86_64 1.8.3-1.el7 base 85 kncurses x86_64 5.9-14.20130511.el7_4 base 304 kncurses-base noarch 5.9-14.20130511.el7_4 base 68 kncurses-libs x86_64 5.9-14.20130511.el7_4 base 316 knspr x86_64 4.34.0-3.1.el7_9 updates 128 knss x86_64 3.79.0-5.el7_9 updates 895 knss-pem x86_64 1.0.3-7.el7_9.1 updates 75 knss-softokn x86_64 3.79.0-4.el7_9 updates 379 knss-softokn-freebl x86_64 3.79.0-4.el7_9 updates 337 knss-sysinit x86_64 3.79.0-5.el7_9 updates 66 knss-tools x86_64 3.79.0-5.el7_9 updates 555 knss-util x86_64 3.79.0-1.el7_9 updates 80 kopenldap x86_64 2.4.44-25.el7_9 updates 356 kopenssl-libs x86_64 1:1.0.2k-26.el7_9 updates 1.2 Mp11-kit x86_64 0.23.5-3.el7 base 252 kp11-kit-trust x86_64 0.23.5-3.el7 base 129 kpam x86_64 1.1.8-23.el7 base 721 kpcre x86_64 8.32-17.el7 base 422 kpkgconfig x86_64 1:0.27.1-4.el7 base 54 kpolicycoreutils x86_64 2.5-34.el7 base 917 kpolicycoreutils-python x86_64 2.5-34.el7 base 457 kpopt x86_64 1.13-16.el7 base 42 kprocps-ng x86_64 3.3.10-28.el7 base 291 kpython x86_64 2.7.5-93.el7_9 updates 96 kpython-IPy noarch 0.75-6.el7 base 32 kpython-libs x86_64 2.7.5-93.el7_9 updates 5.6 Mqrencode-libs x86_64 3.4.1-3.el7 base 50 kreadline x86_64 6.2-11.el7 base 193 krpm x86_64 4.11.3-48.el7_9 updates 1.2 Mrpm-libs x86_64 4.11.3-48.el7_9 updates 279 ksed x86_64 4.2.2-7.el7 base 231 kselinux-policy noarch 3.13.1-268.el7_9.2 updates 498 kselinux-policy-targeted noarch 3.13.1-268.el7_9.2 updates 7.0 Msetools-libs x86_64 3.3.8-4.el7 base 620 ksetup noarch 2.8.71-11.el7 base 166 kshadow-utils x86_64 2:4.6-5.el7 base 1.2 Mshared-mime-info x86_64 1.8-5.el7 base 312 kslirp4netns x86_64 0.4.3-4.el7_8 extras 81 ksqlite x86_64 3.7.17-8.el7_7.1 base 394 ksystemd x86_64 219-78.el7_9.7 updates 5.1 Msystemd-libs x86_64 219-78.el7_9.7 updates 419 ktar x86_64 2:1.26-35.el7 base 846 ktzdata noarch 2023c-1.el7 updates 497 kustr x86_64 1.0.4-16.el7 base 92 kutil-linux x86_64 2.23.2-65.el7_9.1 updates 2.0 Mxz x86_64 5.2.2-2.el7_9 updates 229 kxz-libs x86_64 5.2.2-2.el7_9 updates 103 kzlib x86_64 1.2.7-21.el7_9 updates 90 kTransaction Summary
============================================================================================================================================================================================
Install 1 Package (+140 Dependent packages)Total download size: 191 M
Installed size: 852 M
Background downloading packages, then exiting:
warning: /var/tmp/docker/basesystem-10.0-7.el7.centos.noarch.rpm.21083.tmp: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ] 0.0 B/s | 0 B --:--:-- ETA
Public key for basesystem-10.0-7.el7.centos.noarch.rpm.21083.tmp is not installed
(1/61): basesystem-10.0-7.el7.centos.noarch.rpm | 5.0 kB 00:00:02
(2/61): cracklib-2.9.0-11.el7.x86_64.rpm | 80 kB 00:00:00
Public key for container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm.21083.tmp is not installed
(3/61): container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm | 40 kB 00:00:02
(4/61): cracklib-dicts-2.9.0-11.el7.x86_64.rpm | 3.6 MB 00:00:01
checkpolicy-2.5-8.el7.x86_64.r FAILED 4% [=== ] 2.4 MB/s | 6.2 MB 00:00:51 ETA
http://mirrors.cloud.aliyuncs.com/centos/7/os/x86_64/Packages/checkpolicy-2.5-8.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error" ETA
Trying other mirror.
warning: /var/tmp/docker/docker-buildx-plugin-0.11.2-1.el7.x86_64.rpm.21083.tmp: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY ] 3.0 MB/s | 34 MB 00:00:31 ETA
Public key for docker-buildx-plugin-0.11.2-1.el7.x86_64.rpm.21083.tmp is not installed
(5/61): docker-buildx-plugin-0.11.2-1.el7.x86_64.rpm | 13 MB 00:00:11
bzip2-libs-1.0.6-13.el7.x86_64 FAILED 50% [==================================- ] 3.2 MB/s | 65 MB 00:00:19 ETA
http://mirrors.aliyuncs.com/centos/7/os/x86_64/Packages/bzip2-libs-1.0.6-13.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to mirrors.aliyuncs.com:80; Connection refused"00:00:19 ETA
Trying other mirror.
(6/61): containerd.io-1.6.22-3.1.el7.x86_64.rpm | 34 MB 00:00:23
(7/61): docker-ce-20.10.0-3.el7.x86_64.rpm | 27 MB 00:00:16
(8/61): docker-ce-cli-24.0.5-1.el7.x86_64.rpm | 13 MB 00:00:08
(9/61): filesystem-3.2-25.el7.x86_64.rpm | 1.0 MB 00:00:00
(10/61): fuse3-libs-3.6.1-4.el7.x86_64.rpm | 82 kB 00:00:00
(11/61): gawk-4.0.2-4.el7_3.1.x86_64.rpm | 874 kB 00:00:00
(12/61): gdbm-1.10-8.el7.x86_64.rpm | 70 kB 00:00:00
(13/61): gmp-6.0.0-15.el7.x86_64.rpm | 281 kB 00:00:00
(14/61): grep-2.20-3.el7.x86_64.rpm | 344 kB 00:00:00
(15/61): hardlink-1.0-19.el7.x86_64.rpm | 14 kB 00:00:00
(16/61): info-5.1-5.el7.x86_64.rpm | 233 kB 00:00:00
(17/61): json-c-0.11-4.el7_0.x86_64.rpm | 31 kB 00:00:00
(18/61): keyutils-libs-1.5.8-3.el7.x86_64.rpm | 25 kB 00:00:00
(19/61): libattr-2.4.46-13.el7.x86_64.rpm | 18 kB 00:00:00
(20/61): libcap-ng-0.7.5-4.el7.x86_64.rpm | 25 kB 00:00:00
(21/61): libgcc-4.8.5-44.el7.x86_64.rpm | 103 kB 00:00:00
(22/61): libgcrypt-1.5.3-14.el7.x86_64.rpm | 263 kB 00:00:00
(23/61): libgpg-error-1.12-3.el7.x86_64.rpm | 87 kB 00:00:00
(24/61): libidn-1.28-4.el7.x86_64.rpm | 209 kB 00:00:00
(25/61): fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm | 54 kB 00:00:02
(26/61): findutils-4.5.11-6.el7.x86_64.rpm | 559 kB 00:00:02
(27/61): libnetfilter_conntrack-1.0.6-1.el7_3.x86_64.rpm | 55 kB 00:00:00
(28/61): libmnl-1.0.3-7.el7.x86_64.rpm | 23 kB 00:00:00
(29/61): libnfnetlink-1.0.1-4.el7.x86_64.rpm | 26 kB 00:00:00
(30/61): libsemanage-2.5-14.el7.x86_64.rpm | 151 kB 00:00:00
(31/61): libpwquality-1.2.3-5.el7.x86_64.rpm | 85 kB 00:00:00
(32/61): libsemanage-python-2.5-14.el7.x86_64.rpm | 113 kB 00:00:00
(33/61): libstdc++-4.8.5-44.el7.x86_64.rpm | 306 kB 00:00:00
(34/61): libsepol-2.5-10.el7.x86_64.rpm | 297 kB 00:00:00
(35/61): libtasn1-4.10-1.el7.x86_64.rpm | 320 kB 00:00:00
(36/61): libutempter-1.1.6-4.el7.x86_64.rpm | 25 kB 00:00:00
(37/61): libuser-0.60-9.el7.x86_64.rpm | 400 kB 00:00:00
(38/61): docker-ce-rootless-extras-24.0.5-1.el7.x86_64.rpm | 9.1 MB 00:00:05
(39/61): libverto-0.2.5-4.el7.x86_64.rpm | 16 kB 00:00:00
(40/61): lua-5.1.4-15.el7.x86_64.rpm | 201 kB 00:00:00
(41/61): ncurses-base-5.9-14.20130511.el7_4.noarch.rpm | 68 kB 00:00:00
(42/61): ncurses-5.9-14.20130511.el7_4.x86_64.rpm | 304 kB 00:00:00
(43/61): p11-kit-0.23.5-3.el7.x86_64.rpm | 252 kB 00:00:00
(44/61): p11-kit-trust-0.23.5-3.el7.x86_64.rpm | 129 kB 00:00:00
(45/61): ncurses-libs-5.9-14.20130511.el7_4.x86_64.rpm | 316 kB 00:00:00
(46/61): pkgconfig-0.27.1-4.el7.x86_64.rpm | 54 kB 00:00:00
(47/61): popt-1.13-16.el7.x86_64.rpm | 42 kB 00:00:00
(48/61): pcre-8.32-17.el7.x86_64.rpm | 422 kB 00:00:00
(49/61): python-IPy-0.75-6.el7.noarch.rpm | 32 kB 00:00:00
Public key for nss-pem-1.0.3-7.el7_9.1.x86_64.rpm.21083.tmp is not installed 91% [=============================================================== ] 3.3 MB/s | 117 MB 00:00:03 ETA
(50/61): nss-pem-1.0.3-7.el7_9.1.x86_64.rpm | 75 kB 00:00:02
(51/61): python-2.7.5-93.el7_9.x86_64.rpm | 96 kB 00:00:02
(52/61): slirp4netns-0.4.3-4.el7_8.x86_64.rpm | 81 kB 00:00:00
(53/61): docker-compose-plugin-2.20.2-1.el7.x86_64.rpm | 13 MB 00:00:07
(54/61): python-libs-2.7.5-93.el7_9.x86_64.rpm | 5.6 MB 00:00:01
(55/61): qrencode-libs-3.4.1-3.el7.x86_64.rpm | 50 kB 00:00:02
(56/61): setools-libs-3.3.8-4.el7.x86_64.rpm | 620 kB 00:00:02
(57/61): ustr-1.0.4-16.el7.x86_64.rpm | 92 kB 00:00:00
(58/61): tar-1.26-35.el7.x86_64.rpm | 846 kB 00:00:00
(59/61): checkpolicy-2.5-8.el7.x86_64.rpm | 295 kB 00:00:00
(60/61): bzip2-libs-1.0.6-13.el7.x86_64.rpm | 40 kB 00:00:00
(61/61): tzdata-2023c-1.el7.noarch.rpm | 497 kB 00:00:02
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 2.9 MB/s | 128 MB 00:00:44
exiting because "Download Only" specified
[root@localhost ~]#
查看下载的docker 20.10的 所有依赖包
ls -lhSr /var/tmp/docker
[root@localhost ~]# ls -lhSr /var/tmp/docker
total 192M
-rw-r--r--. 1 root root 5.1K Jul 4 2014 basesystem-10.0-7.el7.centos.noarch.rpm
-rw-r--r--. 1 root root 15K Jul 4 2014 hardlink-1.0-19.el7.x86_64.rpm
-rw-r--r--. 1 root root 17K Jul 4 2014 libverto-0.2.5-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 19K Apr 25 2018 libattr-2.4.46-13.el7.x86_64.rpm
-rw-r--r--. 1 root root 24K Jul 4 2014 libmnl-1.0.3-7.el7.x86_64.rpm
-rw-r--r--. 1 root root 25K Nov 25 2015 libcap-ng-0.7.5-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 25K Jul 4 2014 libutempter-1.1.6-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 26K Jul 4 2014 keyutils-libs-1.5.8-3.el7.x86_64.rpm
-rw-r--r--. 1 root root 26K Jul 4 2014 libnfnetlink-1.0.1-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 27K Dec 3 2020 centos-release-7-9.2009.1.el7.centos.x86_64.rpm
-rw-r--r--. 1 root root 28K Apr 4 2020 libacl-2.2.51-15.el7.x86_64.rpm
-rw-r--r--. 1 root root 31K Apr 4 2020 libffi-3.0.13-19.el7.x86_64.rpm
-rw-r--r--. 1 root root 31K Jul 5 2014 json-c-0.11-4.el7_0.x86_64.rpm
-rw-r--r--. 1 root root 33K Jul 4 2014 python-IPy-0.75-6.el7.noarch.rpm
-rw-r--r--. 1 root root 33K Oct 15 2020 elfutils-default-yama-scope-0.176-5.el7.noarch.rpm
-rw-r--r--. 1 root root 40K Nov 25 2015 bzip2-libs-1.0.6-13.el7.x86_64.rpm
-rw-r--r--. 1 root root 40K Jul 6 2020 container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm
-rw-r--r--. 1 root root 42K Jul 4 2014 popt-1.13-16.el7.x86_64.rpm
-rw-r--r--. 1 root root 43K Oct 15 2020 libcom_err-1.42.9-19.el7.x86_64.rpm
-rw-r--r--. 1 root root 48K Apr 4 2020 libcap-2.22-11.el7.x86_64.rpm
-rw-r--r--. 1 root root 50K Jul 4 2014 qrencode-libs-3.4.1-3.el7.x86_64.rpm
-rw-r--r--. 1 root root 52K Apr 4 2020 kmod-libs-20-28.el7.x86_64.rpm
-rw-r--r--. 1 root root 54K Jul 4 2014 pkgconfig-0.27.1-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 55K Apr 29 2020 fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm
-rw-r--r--. 1 root root 56K May 26 2017 libnetfilter_conntrack-1.0.6-1.el7_3.x86_64.rpm
-rw-r--r--. 1 root root 57K Apr 4 2020 libseccomp-2.3.1-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 67K Aug 23 2019 libcgroup-0.41-21.el7.x86_64.rpm
-rw-r--r--. 1 root root 67K Mar 21 22:46 nss-sysinit-3.79.0-5.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 69K Sep 7 2017 ncurses-base-5.9-14.20130511.el7_4.noarch.rpm
-rw-r--r--. 1 root root 71K Jul 4 2014 gdbm-1.10-8.el7.x86_64.rpm
-rw-r--r--. 1 root root 75K Jun 26 19:56 nss-pem-1.0.3-7.el7_9.1.x86_64.rpm
-rw-r--r--. 1 root root 77K Aug 23 2019 audit-libs-python-2.8.5-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 80K Oct 4 2022 nss-util-3.79.0-1.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 81K Jul 4 2014 cracklib-2.9.0-11.el7.x86_64.rpm
-rw-r--r--. 1 root root 81K Dec 1 2022 kpartx-0.4.9-136.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 82K Apr 4 2020 acl-2.2.51-15.el7.x86_64.rpm
-rw-r--r--. 1 root root 82K Apr 29 2020 slirp4netns-0.4.3-4.el7_8.x86_64.rpm
-rw-r--r--. 1 root root 82K Apr 29 2020 fuse3-libs-3.6.1-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 83K Oct 6 2022 expat-2.1.0-15.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 85K Feb 4 2021 libuuid-2.23.2-65.el7_9.1.x86_64.rpm
-rw-r--r--. 1 root root 85K Apr 25 2018 libpwquality-1.2.3-5.el7.x86_64.rpm
-rw-r--r--. 1 root root 85K Oct 15 2020 lz4-1.8.3-1.el7.x86_64.rpm
-rw-r--r--. 1 root root 88K Jul 4 2014 libgpg-error-1.12-3.el7.x86_64.rpm
-rw-r--r--. 1 root root 88K Oct 15 2020 libssh2-1.8.0-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 91K Mar 8 21:24 zlib-1.2.7-21.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 93K Jul 4 2014 ustr-1.0.4-16.el7.x86_64.rpm
-rw-r--r--. 1 root root 97K Jun 26 19:57 python-2.7.5-93.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 102K Aug 23 2019 audit-libs-2.8.5-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 103K Oct 15 2020 libgcc-4.8.5-44.el7.x86_64.rpm
-rw-r--r--. 1 root root 104K Jun 15 2022 xz-libs-5.2.2-2.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 113K Nov 12 2018 libsemanage-python-2.5-14.el7.x86_64.rpm
-rw-r--r--. 1 root root 123K Apr 4 2020 kmod-20-28.el7.x86_64.rpm
-rw-r--r--. 1 root root 128K Oct 4 2022 nspr-4.34.0-3.1.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 129K Aug 11 2017 p11-kit-trust-0.23.5-3.el7.x86_64.rpm
-rw-r--r--. 1 root root 130K May 13 2022 gzip-1.5-11.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 133K Aug 23 2019 libdb-utils-5.3.21-25.el7.x86_64.rpm
-rw-r--r--. 1 root root 143K Feb 4 2021 libsmartcols-2.23.2-65.el7_9.1.x86_64.rpm
-rw-r--r--. 1 root root 151K Nov 12 2018 libsemanage-2.5-14.el7.x86_64.rpm
-rw-r--r--. 1 root root 152K Apr 4 2020 libselinux-utils-2.5-15.el7.x86_64.rpm
-rw-r--r--. 1 root root 156K Feb 24 2022 cyrus-sasl-lib-2.1.26-24.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 163K Apr 4 2020 libselinux-2.5-15.el7.x86_64.rpm
-rw-r--r--. 1 root root 167K Apr 4 2020 setup-2.8.71-11.el7.noarch.rpm
-rw-r--r--. 1 root root 170K Oct 15 2020 dbus-libs-1.10.24-15.el7.x86_64.rpm
-rw-r--r--. 1 root root 182K Oct 15 2020 chkconfig-1.7.6-1.el7.x86_64.rpm
-rw-r--r--. 1 root root 183K Feb 4 2021 libblkid-2.23.2-65.el7_9.1.x86_64.rpm
-rw-r--r--. 1 root root 185K Feb 4 2021 libmount-2.23.2-65.el7_9.1.x86_64.rpm
-rw-r--r--. 1 root root 194K Aug 23 2019 readline-6.2-11.el7.x86_64.rpm
-rw-r--r--. 1 root root 195K Oct 15 2020 elfutils-libelf-0.176-5.el7.x86_64.rpm
-rw-r--r--. 1 root root 201K Nov 21 2016 lua-5.1.4-15.el7.x86_64.rpm
-rw-r--r--. 1 root root 209K Nov 25 2015 libidn-1.28-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 212K Oct 15 2020 cpio-2.11-28.el7.x86_64.rpm
-rw-r--r--. 1 root root 224K Nov 18 2020 libcurl-7.29.0-59.el7_9.1.x86_64.rpm
-rw-r--r--. 1 root root 229K Jun 15 2022 xz-5.2.2-2.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 232K Oct 15 2020 sed-4.2.2-7.el7.x86_64.rpm
-rw-r--r--. 1 root root 233K Apr 25 2018 info-5.1-5.el7.x86_64.rpm
-rw-r--r--. 1 root root 236K Apr 4 2020 libselinux-python-2.5-15.el7.x86_64.rpm
-rw-r--r--. 1 root root 246K Oct 15 2020 dbus-1.10.24-15.el7.x86_64.rpm
-rw-r--r--. 1 root root 252K Aug 11 2017 p11-kit-0.23.5-3.el7.x86_64.rpm
-rw-r--r--. 1 root root 264K Aug 11 2017 libgcrypt-1.5.3-14.el7.x86_64.rpm
-rw-r--r--. 1 root root 271K Nov 18 2020 curl-7.29.0-59.el7_9.1.x86_64.rpm
-rw-r--r--. 1 root root 280K Dec 1 2021 rpm-libs-4.11.3-48.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 282K Aug 11 2017 gmp-6.0.0-15.el7.x86_64.rpm
-rw-r--r--. 1 root root 291K Oct 15 2020 elfutils-libs-0.176-5.el7.x86_64.rpm
-rw-r--r--. 1 root root 292K Oct 15 2020 procps-ng-3.3.10-28.el7.x86_64.rpm
-rw-r--r--. 1 root root 295K Nov 12 2018 checkpolicy-2.5-8.el7.x86_64.rpm
-rw-r--r--. 1 root root 298K Nov 12 2018 libsepol-2.5-10.el7.x86_64.rpm
-rw-r--r--. 1 root root 298K Apr 29 2021 device-mapper-1.02.170-6.el7_9.5.x86_64.rpm
-rw-r--r--. 1 root root 304K Sep 7 2017 ncurses-5.9-14.20130511.el7_4.x86_64.rpm
-rw-r--r--. 1 root root 306K Oct 15 2020 libstdc++-4.8.5-44.el7.x86_64.rpm
-rw-r--r--. 1 root root 313K Apr 4 2020 shared-mime-info-1.8-5.el7.x86_64.rpm
-rw-r--r--. 1 root root 316K Sep 7 2017 ncurses-libs-5.9-14.20130511.el7_4.x86_64.rpm
-rw-r--r--. 1 root root 321K Aug 11 2017 libtasn1-4.10-1.el7.x86_64.rpm
-rw-r--r--. 1 root root 323K Mar 8 21:23 diffutils-3.3-6.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 326K Apr 29 2021 device-mapper-libs-1.02.170-6.el7_9.5.x86_64.rpm
-rw-r--r--. 1 root root 330K Oct 15 2020 dracut-033-572.el7.x86_64.rpm
-rw-r--r--. 1 root root 338K Oct 4 2022 nss-softokn-freebl-3.79.0-4.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 339K Apr 4 2020 cryptsetup-libs-2.0.3-6.el7.x86_64.rpm
-rw-r--r--. 1 root root 345K Aug 11 2017 grep-2.20-3.el7.x86_64.rpm
-rw-r--r--. 1 root root 357K Feb 24 2022 openldap-2.4.44-25.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 380K Oct 4 2022 nss-softokn-3.79.0-4.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 394K Jan 29 2020 sqlite-3.7.17-8.el7_7.1.x86_64.rpm
-rw-r--r--. 1 root root 401K Apr 25 2018 libuser-0.60-9.el7.x86_64.rpm
-rw-r--r--. 1 root root 420K Sep 2 2022 systemd-libs-219-78.el7_9.7.x86_64.rpm
-rw-r--r--. 1 root root 422K Aug 11 2017 pcre-8.32-17.el7.x86_64.rpm
-rw-r--r--. 1 root root 433K Oct 15 2020 iptables-1.4.21-35.el7.x86_64.rpm
-rw-r--r--. 1 root root 458K Apr 4 2020 policycoreutils-python-2.5-34.el7.x86_64.rpm
-rw-r--r--. 1 root root 498K Apr 4 22:24 tzdata-2023c-1.el7.noarch.rpm
-rw-r--r--. 1 root root 498K Nov 18 2020 selinux-policy-3.13.1-268.el7_9.2.noarch.rpm
-rw-r--r--. 1 root root 555K Mar 21 22:46 nss-tools-3.79.0-5.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 559K Nov 12 2018 findutils-4.5.11-6.el7.x86_64.rpm
-rw-r--r--. 1 root root 621K Nov 12 2018 setools-libs-3.3.8-4.el7.x86_64.rpm
-rw-r--r--. 1 root root 669K Oct 22 2021 libxml2-2.9.1-6.el7_9.6.x86_64.rpm
-rw-r--r--. 1 root root 720K Aug 23 2019 libdb-5.3.21-25.el7.x86_64.rpm
-rw-r--r--. 1 root root 721K Apr 4 2020 pam-1.1.8-23.el7.x86_64.rpm
-rw-r--r--. 1 root root 810K Dec 1 2022 krb5-libs-1.15.1-55.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 846K Nov 12 2018 tar-1.26-35.el7.x86_64.rpm
-rw-r--r--. 1 root root 874K Jun 29 2017 gawk-4.0.2-4.el7_3.1.x86_64.rpm
-rw-r--r--. 1 root root 896K Mar 21 22:46 nss-3.79.0-5.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 912K Sep 23 2022 ca-certificates-2022.2.54-74.el7_9.noarch.rpm
-rw-r--r--. 1 root root 917K Apr 4 2020 policycoreutils-2.5-34.el7.x86_64.rpm
-rw-r--r--. 1 root root 1014K Dec 1 2021 bash-4.2.46-35.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 1.1M Apr 25 2018 filesystem-3.2-25.el7.x86_64.rpm
-rw-r--r--. 1 root root 1.2M Dec 1 2021 rpm-4.11.3-48.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 1.2M Aug 23 2019 shadow-utils-4.6-5.el7.x86_64.rpm
-rw-r--r--. 1 root root 1.2M Mar 21 22:47 openssl-libs-1.0.2k-26.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 2.0M Feb 4 2021 util-linux-2.23.2-65.el7_9.1.x86_64.rpm
-rw-r--r--. 1 root root 2.5M Jun 11 2021 glib2-2.56.1-9.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 3.3M Nov 18 2020 coreutils-8.22-24.el7_9.2.x86_64.rpm
-rw-r--r--. 1 root root 3.6M Jul 4 2014 cracklib-dicts-2.9.0-11.el7.x86_64.rpm
-rw-r--r--. 1 root root 3.7M May 19 2022 glibc-2.17-326.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 5.1M Sep 2 2022 systemd-219-78.el7_9.7.x86_64.rpm
-rw-r--r--. 1 root root 5.7M Jun 26 19:57 python-libs-2.7.5-93.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 6.0M Nov 2 2021 binutils-2.27-44.base.el7_9.1.x86_64.rpm
-rw-r--r--. 1 root root 7.0M Nov 18 2020 selinux-policy-targeted-3.13.1-268.el7_9.2.noarch.rpm
-rw-r--r--. 1 root root 9.2M Jul 24 23:07 docker-ce-rootless-extras-24.0.5-1.el7.x86_64.rpm
-rw-r--r--. 1 root root 12M May 19 2022 glibc-common-2.17-326.el7_9.x86_64.rpm
-rw-r--r--. 1 root root 13M Jul 24 23:07 docker-compose-plugin-2.20.2-1.el7.x86_64.rpm
-rw-r--r--. 1 root root 14M Jul 24 23:07 docker-buildx-plugin-0.11.2-1.el7.x86_64.rpm
-rw-r--r--. 1 root root 14M Jul 24 23:07 docker-ce-cli-24.0.5-1.el7.x86_64.rpm
-rw-r--r--. 1 root root 27M Dec 9 2020 docker-ce-20.10.0-3.el7.x86_64.rpm
-rw-r--r--. 1 root root 34M Jul 31 22:41 containerd.io-1.6.22-3.1.el7.x86_64.rpm
[root@localhost ~]#
3、创建本地docker yum源
把上面下载的/var/tmp/docker 目录压缩,上传到没有网络连接的centos 7服务器,解压到/var/tmp/docker 目录
# vi /etc/yum.repos.d/offline-docker.repo
[offline-docker]
name=CentOS-7 - docker
baseurl=file:///var/tmp/docker
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
创建本地docker源
createrepo --database /var/tmp/docker/
查看本地docker源
yum repolist |grep docker
确认本地docker源 依赖是否完整
repoclosure --repoid=offline-docker
repoid是repo文件中 [] 里的内容
4、yum使用本地docker源 离线安装docker
本机器不能访问互联网
查找docker 本地源的id
yum使用本地docker源 离线安装docker
yum install docker-ce-20.10.0 --enablerepo=offline-docker