rancher

[root@localhost ~]# yum install docker

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.piconets.webwerks.in
 * epel: epel.dionipe.id
 * extras: mirrors.piconets.webwerks.in
 * updates: mirrors.piconets.webwerks.in
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 2:1.13.1-103.git7f2769b.el7.centos will be installed
--> Processing Dependency: docker-common = 2:1.13.1-103.git7f2769b.el7.centos for package: 2:docker-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: docker-client = 2:1.13.1-103.git7f2769b.el7.centos for package: 2:docker-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: subscription-manager-rhsm-certificates for package: 2:docker-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Running transaction check
---> Package docker-client.x86_64 2:1.13.1-103.git7f2769b.el7.centos will be installed
---> Package docker-common.x86_64 2:1.13.1-103.git7f2769b.el7.centos will be installed
--> Processing Dependency: skopeo-containers >= 1:0.1.26-2 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: oci-umount >= 2:2.3.3-3 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: oci-systemd-hook >= 1:0.1.4-9 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: oci-register-machine >= 1:0-5.13 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: container-storage-setup >= 0.9.0-1 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: container-selinux >= 2:2.51-1 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: atomic-registries for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.13-3.el7.centos will be installed
--> Running transaction check
---> Package atomic-registries.x86_64 1:1.22.1-29.gitb507039.el7 will be installed
--> Processing Dependency: python-pytoml for package: 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64
---> Package container-selinux.noarch 2:2.107-3.el7 will be installed
--> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch
--> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch
--> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch
---> Package container-storage-setup.noarch 0:0.11.0-2.git5eaf76c.el7 will be installed
---> Package containers-common.x86_64 1:0.1.37-3.el7.centos will be installed
---> Package oci-register-machine.x86_64 1:0-6.git2b44233.el7 will be installed
---> Package oci-systemd-hook.x86_64 1:0.2.0-1.git05e6923.el7_6 will be installed
---> Package oci-umount.x86_64 2:2.5-3.el7 will be installed
--> Running transaction check
---> Package python-pytoml.noarch 0:0.1.14-1.git7dea353.el7 will be installed
---> Package selinux-policy.noarch 0:3.13.1-192.el7 will be updated
---> Package selinux-policy.noarch 0:3.13.1-252.el7.1 will be an update
--> Processing Dependency: policycoreutils >= 2.5-24 for package: selinux-policy-3.13.1-252.el7.1.noarch
--> Processing Dependency: libsemanage >= 2.5-13 for package: selinux-policy-3.13.1-252.el7.1.noarch
---> Package selinux-policy-targeted.noarch 0:3.13.1-192.el7 will be updated
---> Package selinux-policy-targeted.noarch 0:3.13.1-252.el7.1 will be an update
--> Running transaction check
---> Package libsemanage.x86_64 0:2.5-11.el7 will be updated
--> Processing Dependency: libsemanage = 2.5-11.el7 for package: libsemanage-python-2.5-11.el7.x86_64
---> Package libsemanage.x86_64 0:2.5-14.el7 will be an update
--> Processing Dependency: libsepol >= 2.5-10 for package: libsemanage-2.5-14.el7.x86_64
--> Processing Dependency: libselinux >= 2.5-14 for package: libsemanage-2.5-14.el7.x86_64
---> Package policycoreutils.x86_64 0:2.5-22.el7 will be updated
--> Processing Dependency: policycoreutils = 2.5-22.el7 for package: policycoreutils-python-2.5-22.el7.x86_64
---> Package policycoreutils.x86_64 0:2.5-33.el7 will be an update
--> Processing Dependency: libselinux-utils >= 2.5-14 for package: policycoreutils-2.5-33.el7.x86_64
--> Running transaction check
---> Package libselinux.x86_64 0:2.5-12.el7 will be updated
--> Processing Dependency: libselinux(x86-64) = 2.5-12.el7 for package: libselinux-python-2.5-12.el7.x86_64
---> Package libselinux.x86_64 0:2.5-14.1.el7 will be an update
---> Package libselinux-utils.x86_64 0:2.5-12.el7 will be updated
---> Package libselinux-utils.x86_64 0:2.5-14.1.el7 will be an update
---> Package libsemanage-python.x86_64 0:2.5-11.el7 will be updated
---> Package libsemanage-python.x86_64 0:2.5-14.el7 will be an update
---> Package libsepol.x86_64 0:2.5-8.1.el7 will be updated
---> Package libsepol.x86_64 0:2.5-10.el7 will be an update
---> Package policycoreutils-python.x86_64 0:2.5-22.el7 will be updated
---> Package policycoreutils-python.x86_64 0:2.5-33.el7 will be an update
--> Processing Dependency: setools-libs >= 3.3.8-4 for package: policycoreutils-python-2.5-33.el7.x86_64
--> Running transaction check
---> Package libselinux-python.x86_64 0:2.5-12.el7 will be updated
---> Package libselinux-python.x86_64 0:2.5-14.1.el7 will be an update
---> Package setools-libs.x86_64 0:3.3.8-2.el7 will be updated
---> Package setools-libs.x86_64 0:3.3.8-4.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch   Version                            Repository
                                                                           Size
================================================================================
Installing:
 docker                 x86_64 2:1.13.1-103.git7f2769b.el7.centos extras   18 M
Installing for dependencies:
 atomic-registries      x86_64 1:1.22.1-29.gitb507039.el7         extras   35 k
 container-selinux      noarch 2:2.107-3.el7                      extras   39 k
 container-storage-setup
                        noarch 0.11.0-2.git5eaf76c.el7            extras   35 k
 containers-common      x86_64 1:0.1.37-3.el7.centos              extras   21 k
 docker-client          x86_64 2:1.13.1-103.git7f2769b.el7.centos extras  3.9 M
 docker-common          x86_64 2:1.13.1-103.git7f2769b.el7.centos extras   97 k
 oci-register-machine   x86_64 1:0-6.git2b44233.el7               extras  1.1 M
 oci-systemd-hook       x86_64 1:0.2.0-1.git05e6923.el7_6         extras   34 k
 oci-umount             x86_64 2:2.5-3.el7                        extras   33 k
 python-pytoml          noarch 0.1.14-1.git7dea353.el7            extras   18 k
 subscription-manager-rhsm-certificates
                        x86_64 1.24.13-3.el7.centos               updates 228 k
Updating for dependencies:
 libselinux             x86_64 2.5-14.1.el7                       base    162 k
 libselinux-python      x86_64 2.5-14.1.el7                       base    235 k
 libselinux-utils       x86_64 2.5-14.1.el7                       base    151 k
 libsemanage            x86_64 2.5-14.el7                         base    151 k
 libsemanage-python     x86_64 2.5-14.el7                         base    113 k
 libsepol               x86_64 2.5-10.el7                         base    297 k
 policycoreutils        x86_64 2.5-33.el7                         base    916 k
 policycoreutils-python x86_64 2.5-33.el7                         base    457 k
 selinux-policy         noarch 3.13.1-252.el7.1                   updates 492 k
 selinux-policy-targeted
                        noarch 3.13.1-252.el7.1                   updates 7.0 M
 setools-libs           x86_64 3.3.8-4.el7                        base    620 k

Transaction Summary
================================================================================
Install  1 Package  (+11 Dependent packages)
Upgrade             ( 11 Dependent packages)

Total size: 34 M
Total download size: 23 M
Is this ok [y/d/N]: Exiting on user command
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2019-10-23.18-42.xQoNSt.yumtx
[root@localhost ~]# yum install docker
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.piconets.webwerks.in
 * epel: epel.dionipe.id
 * extras: mirrors.piconets.webwerks.in
 * updates: mirrors.piconets.webwerks.in
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 2:1.13.1-103.git7f2769b.el7.centos will be installed
--> Processing Dependency: docker-common = 2:1.13.1-103.git7f2769b.el7.centos for package: 2:docker-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: docker-client = 2:1.13.1-103.git7f2769b.el7.centos for package: 2:docker-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: subscription-manager-rhsm-certificates for package: 2:docker-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Running transaction check
---> Package docker-client.x86_64 2:1.13.1-103.git7f2769b.el7.centos will be installed
---> Package docker-common.x86_64 2:1.13.1-103.git7f2769b.el7.centos will be installed
--> Processing Dependency: skopeo-containers >= 1:0.1.26-2 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: oci-umount >= 2:2.3.3-3 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: oci-systemd-hook >= 1:0.1.4-9 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: oci-register-machine >= 1:0-5.13 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: container-storage-setup >= 0.9.0-1 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: container-selinux >= 2:2.51-1 for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
--> Processing Dependency: atomic-registries for package: 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64
---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.13-3.el7.centos will be installed
--> Running transaction check
---> Package atomic-registries.x86_64 1:1.22.1-29.gitb507039.el7 will be installed
--> Processing Dependency: python-pytoml for package: 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64
---> Package container-selinux.noarch 2:2.107-3.el7 will be installed
--> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch
--> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch
--> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch
---> Package container-storage-setup.noarch 0:0.11.0-2.git5eaf76c.el7 will be installed
---> Package containers-common.x86_64 1:0.1.37-3.el7.centos will be installed
---> Package oci-register-machine.x86_64 1:0-6.git2b44233.el7 will be installed
---> Package oci-systemd-hook.x86_64 1:0.2.0-1.git05e6923.el7_6 will be installed
---> Package oci-umount.x86_64 2:2.5-3.el7 will be installed
--> Running transaction check
---> Package python-pytoml.noarch 0:0.1.14-1.git7dea353.el7 will be installed
---> Package selinux-policy.noarch 0:3.13.1-192.el7 will be updated
---> Package selinux-policy.noarch 0:3.13.1-252.el7.1 will be an update
--> Processing Dependency: policycoreutils >= 2.5-24 for package: selinux-policy-3.13.1-252.el7.1.noarch
--> Processing Dependency: libsemanage >= 2.5-13 for package: selinux-policy-3.13.1-252.el7.1.noarch
---> Package selinux-policy-targeted.noarch 0:3.13.1-192.el7 will be updated
---> Package selinux-policy-targeted.noarch 0:3.13.1-252.el7.1 will be an update
--> Running transaction check
---> Package libsemanage.x86_64 0:2.5-11.el7 will be updated
--> Processing Dependency: libsemanage = 2.5-11.el7 for package: libsemanage-python-2.5-11.el7.x86_64
---> Package libsemanage.x86_64 0:2.5-14.el7 will be an update
--> Processing Dependency: libsepol >= 2.5-10 for package: libsemanage-2.5-14.el7.x86_64
--> Processing Dependency: libselinux >= 2.5-14 for package: libsemanage-2.5-14.el7.x86_64
---> Package policycoreutils.x86_64 0:2.5-22.el7 will be updated
--> Processing Dependency: policycoreutils = 2.5-22.el7 for package: policycoreutils-python-2.5-22.el7.x86_64
---> Package policycoreutils.x86_64 0:2.5-33.el7 will be an update
--> Processing Dependency: libselinux-utils >= 2.5-14 for package: policycoreutils-2.5-33.el7.x86_64
--> Running transaction check
---> Package libselinux.x86_64 0:2.5-12.el7 will be updated
--> Processing Dependency: libselinux(x86-64) = 2.5-12.el7 for package: libselinux-python-2.5-12.el7.x86_64
---> Package libselinux.x86_64 0:2.5-14.1.el7 will be an update
---> Package libselinux-utils.x86_64 0:2.5-12.el7 will be updated
---> Package libselinux-utils.x86_64 0:2.5-14.1.el7 will be an update
---> Package libsemanage-python.x86_64 0:2.5-11.el7 will be updated
---> Package libsemanage-python.x86_64 0:2.5-14.el7 will be an update
---> Package libsepol.x86_64 0:2.5-8.1.el7 will be updated
---> Package libsepol.x86_64 0:2.5-10.el7 will be an update
---> Package policycoreutils-python.x86_64 0:2.5-22.el7 will be updated
---> Package policycoreutils-python.x86_64 0:2.5-33.el7 will be an update
--> Processing Dependency: setools-libs >= 3.3.8-4 for package: policycoreutils-python-2.5-33.el7.x86_64
--> Running transaction check
---> Package libselinux-python.x86_64 0:2.5-12.el7 will be updated
---> Package libselinux-python.x86_64 0:2.5-14.1.el7 will be an update
---> Package setools-libs.x86_64 0:3.3.8-2.el7 will be updated
---> Package setools-libs.x86_64 0:3.3.8-4.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch   Version                            Repository
                                                                           Size
================================================================================
Installing:
 docker                 x86_64 2:1.13.1-103.git7f2769b.el7.centos extras   18 M
Installing for dependencies:
 atomic-registries      x86_64 1:1.22.1-29.gitb507039.el7         extras   35 k
 container-selinux      noarch 2:2.107-3.el7                      extras   39 k
 container-storage-setup
                        noarch 0.11.0-2.git5eaf76c.el7            extras   35 k
 containers-common      x86_64 1:0.1.37-3.el7.centos              extras   21 k
 docker-client          x86_64 2:1.13.1-103.git7f2769b.el7.centos extras  3.9 M
 docker-common          x86_64 2:1.13.1-103.git7f2769b.el7.centos extras   97 k
 oci-register-machine   x86_64 1:0-6.git2b44233.el7               extras  1.1 M
 oci-systemd-hook       x86_64 1:0.2.0-1.git05e6923.el7_6         extras   34 k
 oci-umount             x86_64 2:2.5-3.el7                        extras   33 k
 python-pytoml          noarch 0.1.14-1.git7dea353.el7            extras   18 k
 subscription-manager-rhsm-certificates
                        x86_64 1.24.13-3.el7.centos               updates 228 k
Updating for dependencies:
 libselinux             x86_64 2.5-14.1.el7                       base    162 k
 libselinux-python      x86_64 2.5-14.1.el7                       base    235 k
 libselinux-utils       x86_64 2.5-14.1.el7                       base    151 k
 libsemanage            x86_64 2.5-14.el7                         base    151 k
 libsemanage-python     x86_64 2.5-14.el7                         base    113 k
 libsepol               x86_64 2.5-10.el7                         base    297 k
 policycoreutils        x86_64 2.5-33.el7                         base    916 k
 policycoreutils-python x86_64 2.5-33.el7                         base    457 k
 selinux-policy         noarch 3.13.1-252.el7.1                   updates 492 k
 selinux-policy-targeted
                        noarch 3.13.1-252.el7.1                   updates 7.0 M
 setools-libs           x86_64 3.3.8-4.el7                        base    620 k

Transaction Summary
================================================================================
Install  1 Package  (+11 Dependent packages)
Upgrade             ( 11 Dependent packages)

Total size: 34 M
Total download size: 23 M
Is this ok [y/d/N]: y
Downloading packages:
atomic-registries-1.22.1-29.gi FAILED                                       
http://mirrors.praction.in/centos/7.7.1908/extras/x86_64/Packages/atomic-registries-1.22.1-29.gitb507039.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.praction.in; Unknown error"
Trying other mirror.
container-storage-setup-0.11.0 FAILED                                       
http://mirrors.praction.in/centos/7.7.1908/extras/x86_64/Packages/container-storage-setup-0.11.0-2.git5eaf76c.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.praction.in; Unknown error"
Trying other mirror.
container-selinux-2.107-3.el7. FAILED                                       
http://mirrors.praction.in/centos/7.7.1908/extras/x86_64/Packages/container-selinux-2.107-3.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.praction.in; Unknown error"
Trying other mirror.
docker-1.13.1-103.git7f2769b.e FAILED                                       
http://mirrors.praction.in/centos/7.7.1908/extras/x86_64/Packages/docker-1.13.1-103.git7f2769b.el7.centos.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.praction.in; Unknown error"
Trying other mirror.
containers-common-0.1.37-3.el7 FAILED                                       
http://mirrors.123host.vn/centos/7.7.1908/extras/x86_64/Packages/containers-common-0.1.37-3.el7.centos.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.123host.vn; Unknown error"
Trying other mirror.
docker-common-1.13.1-103.git7f FAILED                                       
http://mirrors.123host.vn/centos/7.7.1908/extras/x86_64/Packages/docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.123host.vn; Unknown error"
Trying other mirror.
oci-register-machine-0-6.git2b FAILED                                       
http://mirrors.praction.in/centos/7.7.1908/extras/x86_64/Packages/oci-register-machine-0-6.git2b44233.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.praction.in; Unknown error"
Trying other mirror.
oci-systemd-hook-0.2.0-1.git05 FAILED                                       
http://mirrors.piconets.webwerks.in/centos-mirror/7.7.1908/extras/x86_64/Packages/oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.piconets.webwerks.in; Unknown error"
Trying other mirror.
python-pytoml-0.1.14-1.git7dea FAILED                                       
http://centos.hbcse.tifr.res.in/centos/7.7.1908/extras/x86_64/Packages/python-pytoml-0.1.14-1.git7dea353.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: centos.hbcse.tifr.res.in; Unknown error"
Trying other mirror.
(1/12): oci-umount-2.5-3.el7.x86_64.rpm                    |  33 kB   00:09   
(2/12): container-storage-setup-0.11.0-2.git5eaf76c.el7.no |  35 kB   00:07   
(3/12): atomic-registries-1.22.1-29.gitb507039.el7.x86_64. |  35 kB   00:11   
(4/12): subscription-manager-rhsm-certificates-1.24.13-3.e | 228 kB   00:11   
(5/12): containers-common-0.1.37-3.el7.centos.x86_64.rpm   |  21 kB   00:00   
(6/12): docker-common-1.13.1-103.git7f2769b.el7.centos.x86 |  97 kB   00:00   
(7/12): oci-register-machine-0-6.git2b44233.el7.x86_64.rpm | 1.1 MB   00:00   
(8/12): python-pytoml-0.1.14-1.git7dea353.el7.noarch.rpm   |  18 kB   00:00   
(9/12): oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86_64.r |  34 kB   00:03   
(10/12): container-selinux-2.107-3.el7.noarch.rpm          |  39 kB   00:05   
(11/12): docker-1.13.1-103.git7f2769b.el7.centos.x86_64.rp |  18 MB   00:38   
(12/12): docker-client-1.13.1-103.git7f2769b.el7.centos.x8 | 3.9 MB   01:36   
--------------------------------------------------------------------------------
Total                                              237 kB/s |  23 MB  01:40   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : libsepol-2.5-10.el7.x86_64                                  1/34
  Updating   : libselinux-2.5-14.1.el7.x86_64                              2/34
  Updating   : libsemanage-2.5-14.el7.x86_64                               3/34
  Updating   : libselinux-utils-2.5-14.1.el7.x86_64                        4/34
  Updating   : policycoreutils-2.5-33.el7.x86_64                           5/34
  Updating   : selinux-policy-3.13.1-252.el7.1.noarch                      6/34
  Updating   : selinux-policy-targeted-3.13.1-252.el7.1.noarch             7/34
  Updating   : libsemanage-python-2.5-14.el7.x86_64                        8/34
  Installing : 1:oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86_64          9/34
  Updating   : libselinux-python-2.5-14.1.el7.x86_64                      10/34
  Updating   : setools-libs-3.3.8-4.el7.x86_64                            11/34
  Updating   : policycoreutils-python-2.5-33.el7.x86_64                   12/34
  Installing : 2:container-selinux-2.107-3.el7.noarch                     13/34
  Installing : subscription-manager-rhsm-certificates-1.24.13-3.el7.cen   14/34
  Installing : 1:oci-register-machine-0-6.git2b44233.el7.x86_64           15/34
  Installing : python-pytoml-0.1.14-1.git7dea353.el7.noarch               16/34
  Installing : 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64        17/34
  Installing : 2:oci-umount-2.5-3.el7.x86_64                              18/34
  Installing : 1:containers-common-0.1.37-3.el7.centos.x86_64             19/34
  Installing : container-storage-setup-0.11.0-2.git5eaf76c.el7.noarch     20/34
  Installing : 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64    21/34
  Installing : 2:docker-client-1.13.1-103.git7f2769b.el7.centos.x86_64    22/34
  Installing : 2:docker-1.13.1-103.git7f2769b.el7.centos.x86_64           23/34
  Cleanup    : policycoreutils-python-2.5-22.el7.x86_64                   24/34
  Cleanup    : selinux-policy-targeted-3.13.1-192.el7.noarch              25/34
  Cleanup    : selinux-policy-3.13.1-192.el7.noarch                       26/34
  Cleanup    : policycoreutils-2.5-22.el7.x86_64                          27/34
  Cleanup    : libselinux-utils-2.5-12.el7.x86_64                         28/34
  Cleanup    : setools-libs-3.3.8-2.el7.x86_64                            29/34
  Cleanup    : libselinux-python-2.5-12.el7.x86_64                        30/34
  Cleanup    : libsemanage-python-2.5-11.el7.x86_64                       31/34
  Cleanup    : libsemanage-2.5-11.el7.x86_64                              32/34
  Cleanup    : libselinux-2.5-12.el7.x86_64                               33/34
  Cleanup    : libsepol-2.5-8.1.el7.x86_64                                34/34
  Verifying  : 2:docker-common-1.13.1-103.git7f2769b.el7.centos.x86_64     1/34
  Verifying  : 2:docker-1.13.1-103.git7f2769b.el7.centos.x86_64            2/34
  Verifying  : 2:container-selinux-2.107-3.el7.noarch                      3/34
  Verifying  : container-storage-setup-0.11.0-2.git5eaf76c.el7.noarch      4/34
  Verifying  : 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64         5/34
  Verifying  : 1:containers-common-0.1.37-3.el7.centos.x86_64              6/34
  Verifying  : 2:oci-umount-2.5-3.el7.x86_64                               7/34
  Verifying  : python-pytoml-0.1.14-1.git7dea353.el7.noarch                8/34
  Verifying  : policycoreutils-python-2.5-33.el7.x86_64                    9/34
  Verifying  : libsemanage-python-2.5-14.el7.x86_64                       10/34
  Verifying  : 1:oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86_64         11/34
  Verifying  : libsemanage-2.5-14.el7.x86_64                              12/34
  Verifying  : 2:docker-client-1.13.1-103.git7f2769b.el7.centos.x86_64    13/34
  Verifying  : selinux-policy-targeted-3.13.1-252.el7.1.noarch            14/34
  Verifying  : libsepol-2.5-10.el7.x86_64                                 15/34
  Verifying  : 1:oci-register-machine-0-6.git2b44233.el7.x86_64           16/34
  Verifying  : policycoreutils-2.5-33.el7.x86_64                          17/34
  Verifying  : selinux-policy-3.13.1-252.el7.1.noarch                     18/34
  Verifying  : libselinux-python-2.5-14.1.el7.x86_64                      19/34
  Verifying  : libselinux-utils-2.5-14.1.el7.x86_64                       20/34
  Verifying  : setools-libs-3.3.8-4.el7.x86_64                            21/34
  Verifying  : libselinux-2.5-14.1.el7.x86_64                             22/34
  Verifying  : subscription-manager-rhsm-certificates-1.24.13-3.el7.cen   23/34
  Verifying  : libsemanage-python-2.5-11.el7.x86_64                       24/34
  Verifying  : libsemanage-2.5-11.el7.x86_64                              25/34
  Verifying  : libselinux-python-2.5-12.el7.x86_64                        26/34
  Verifying  : setools-libs-3.3.8-2.el7.x86_64                            27/34
  Verifying  : policycoreutils-2.5-22.el7.x86_64                          28/34
  Verifying  : policycoreutils-python-2.5-22.el7.x86_64                   29/34
  Verifying  : selinux-policy-targeted-3.13.1-192.el7.noarch              30/34
  Verifying  : libsepol-2.5-8.1.el7.x86_64                                31/34
  Verifying  : selinux-policy-3.13.1-192.el7.noarch                       32/34
  Verifying  : libselinux-2.5-12.el7.x86_64                               33/34
  Verifying  : libselinux-utils-2.5-12.el7.x86_64                         34/34

Installed:
  docker.x86_64 2:1.13.1-103.git7f2769b.el7.centos                           

Dependency Installed:
  atomic-registries.x86_64 1:1.22.1-29.gitb507039.el7                         
  container-selinux.noarch 2:2.107-3.el7                                     
  container-storage-setup.noarch 0:0.11.0-2.git5eaf76c.el7                   
  containers-common.x86_64 1:0.1.37-3.el7.centos                             
  docker-client.x86_64 2:1.13.1-103.git7f2769b.el7.centos                     
  docker-common.x86_64 2:1.13.1-103.git7f2769b.el7.centos                     
  oci-register-machine.x86_64 1:0-6.git2b44233.el7                           
  oci-systemd-hook.x86_64 1:0.2.0-1.git05e6923.el7_6                         
  oci-umount.x86_64 2:2.5-3.el7                                               
  python-pytoml.noarch 0:0.1.14-1.git7dea353.el7                             
  subscription-manager-rhsm-certificates.x86_64 0:1.24.13-3.el7.centos       

Dependency Updated:
  libselinux.x86_64 0:2.5-14.1.el7                                           
  libselinux-python.x86_64 0:2.5-14.1.el7                                     
  libselinux-utils.x86_64 0:2.5-14.1.el7                                     
  libsemanage.x86_64 0:2.5-14.el7                                             
  libsemanage-python.x86_64 0:2.5-14.el7                                     
  libsepol.x86_64 0:2.5-10.el7                                               
  policycoreutils.x86_64 0:2.5-33.el7                                         
  policycoreutils-python.x86_64 0:2.5-33.el7                                 
  selinux-policy.noarch 0:3.13.1-252.el7.1                                   
  selinux-policy-targeted.noarch 0:3.13.1-252.el7.1                           
  setools-libs.x86_64 0:3.3.8-4.el7                                           

Complete!
                                     
[root@localhost ~]# service docker status
Redirecting to /bin/systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: http://docs.docker.com
[root@localhost ~]# service docker start
Redirecting to /bin/systemctl start docker.service
[root@localhost ~]# chkconfig docker on
Note: Forwarding request to 'systemctl enable docker.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.

[root@localhost ~]# docker run --name Rancher_K8s -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher
Unable to find image 'rancher/rancher:latest' locally
Trying to pull repository docker.io/rancher/rancher ...
latest: Pulling from docker.io/rancher/rancher
5667fdb72017: Pull complete
d83811f270d5: Pull complete
ee671aafb583: Pull complete
7fc152dfb3a6: Pull complete
617987f54fcf: Pull complete
7c41ac3d34c0: Pull complete
779c6c7cad70: Pull complete
8d0950cc5844: Pull complete
727f972c5659: Pull complete
fe49367229ae: Pull complete
7ea9dea6a18e: Pull complete
1ba554db9176: Pull complete
ac7a07fe76d8: Pull complete
7739fd2e61d2: Pull complete
Digest: sha256:c718425116a41f6f490d8fdfee207705361c89331a542e20e64e5dfb1bcdbb92
Status: Downloaded newer image for docker.io/rancher/rancher:latest
94e12f80407b3c6ddb28b9fd457e7a4f157c2e6455a58971ec5bac9aab99583f

[root@localhost ~]# ifconfig
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 0.0.0.0
        inet6 fe80::42:50ff:fe6d:8963  prefixlen 64  scopeid 0x20<link>
        ether 02:42:50:6d:89:63  txqueuelen 0  (Ethernet)
        RX packets 14  bytes 740 (740.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 20  bytes 1996 (1.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.104  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::22e:b097:7a87:fdb7  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:bb:11:58  txqueuelen 1000  (Ethernet)
        RX packets 196476  bytes 283173845 (270.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 47652  bytes 3301688 (3.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



[root@localhost ~]# yum install httpd*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.piconets.webwerks.in
 * epel: mirrors.aliyun.com
 * extras: mirrors.piconets.webwerks.in
 * updates: mirrors.piconets.webwerks.in
Package httpd-tools-2.4.6-90.el7.centos.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-90.el7.centos will be installed
---> Package httpd-devel.x86_64 0:2.4.6-90.el7.centos will be installed
--> Processing Dependency: apr-util-devel for package: httpd-devel-2.4.6-90.el7.centos.x86_64
--> Processing Dependency: apr-devel for package: httpd-devel-2.4.6-90.el7.centos.x86_64
---> Package httpd-itk.x86_64 0:2.4.7.04-2.el7 will be installed
---> Package httpd-manual.noarch 0:2.4.6-90.el7.centos will be installed
--> Running transaction check
---> Package apr-devel.x86_64 0:1.4.8-5.el7 will be installed
---> Package apr-util-devel.x86_64 0:1.5.2-6.el7 will be installed
--> Processing Dependency: openldap-devel(x86-64) for package: apr-util-devel-1.5.2-6.el7.x86_64
--> Processing Dependency: libdb-devel(x86-64) for package: apr-util-devel-1.5.2-6.el7.x86_64
--> Processing Dependency: expat-devel(x86-64) for package: apr-util-devel-1.5.2-6.el7.x86_64
--> Running transaction check
---> Package expat-devel.x86_64 0:2.1.0-10.el7_3 will be installed
---> Package libdb-devel.x86_64 0:5.3.21-25.el7 will be installed
--> Processing Dependency: libdb(x86-64) = 5.3.21-25.el7 for package: libdb-devel-5.3.21-25.el7.x86_64
---> Package openldap-devel.x86_64 0:2.4.44-21.el7_6 will be installed
--> Processing Dependency: openldap(x86-64) = 2.4.44-21.el7_6 for package: openldap-devel-2.4.44-21.el7_6.x86_64
--> Processing Dependency: cyrus-sasl-devel(x86-64) for package: openldap-devel-2.4.44-21.el7_6.x86_64
--> Running transaction check
---> Package cyrus-sasl-devel.x86_64 0:2.1.26-23.el7 will be installed
---> Package libdb.x86_64 0:5.3.21-24.el7 will be updated
--> Processing Dependency: libdb(x86-64) = 5.3.21-24.el7 for package: libdb-utils-5.3.21-24.el7.x86_64
---> Package libdb.x86_64 0:5.3.21-25.el7 will be an update
---> Package openldap.x86_64 0:2.4.44-13.el7 will be updated
---> Package openldap.x86_64 0:2.4.44-21.el7_6 will be an update
--> Running transaction check
---> Package libdb-utils.x86_64 0:5.3.21-24.el7 will be updated
---> Package libdb-utils.x86_64 0:5.3.21-25.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch         Version                   Repository  Size
================================================================================
Installing:
 httpd                  x86_64       2.4.6-90.el7.centos       base       2.7 M
 httpd-devel            x86_64       2.4.6-90.el7.centos       base       197 k
 httpd-itk              x86_64       2.4.7.04-2.el7            epel        22 k
 httpd-manual           noarch       2.4.6-90.el7.centos       base       1.3 M
Installing for dependencies:
 apr-devel              x86_64       1.4.8-5.el7               base       188 k
 apr-util-devel         x86_64       1.5.2-6.el7               base        76 k
 cyrus-sasl-devel       x86_64       2.1.26-23.el7             base       310 k
 expat-devel            x86_64       2.1.0-10.el7_3            base        57 k
 libdb-devel            x86_64       5.3.21-25.el7             base        39 k
 openldap-devel         x86_64       2.4.44-21.el7_6           base       804 k
Updating for dependencies:
 libdb                  x86_64       5.3.21-25.el7             base       720 k
 libdb-utils            x86_64       5.3.21-25.el7             base       132 k
 openldap               x86_64       2.4.44-21.el7_6           base       356 k

Transaction Summary
================================================================================
Install  4 Packages (+6 Dependent packages)
Upgrade             ( 3 Dependent packages)

Total size: 6.9 M
Total download size: 5.7 M
Is this ok [y/d/N]: y
Downloading packages:
(1/10): apr-util-devel-1.5.2-6.el7.x86_64.rpm              |  76 kB   00:00   
(2/10): apr-devel-1.4.8-5.el7.x86_64.rpm                   | 188 kB   00:00   
(3/10): cyrus-sasl-devel-2.1.26-23.el7.x86_64.rpm          | 310 kB   00:00   
(4/10): expat-devel-2.1.0-10.el7_3.x86_64.rpm              |  57 kB   00:00   
(5/10): httpd-devel-2.4.6-90.el7.centos.x86_64.rpm         | 197 kB   00:00   
(6/10): httpd-2.4.6-90.el7.centos.x86_64.rpm               | 2.7 MB   00:01   
(7/10): libdb-devel-5.3.21-25.el7.x86_64.rpm               |  39 kB   00:00   
(8/10): httpd-manual-2.4.6-90.el7.centos.noarch.rpm        | 1.3 MB   00:01   
(9/10): httpd-itk-2.4.7.04-2.el7.x86_64.rpm                |  22 kB   00:01   
(10/10): openldap-devel-2.4.44-21.el7_6.x86_64.rpm         | 804 kB   00:00   
--------------------------------------------------------------------------------
Total                                              1.8 MB/s | 5.7 MB  00:03   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : libdb-5.3.21-25.el7.x86_64                                  1/16
  Installing : httpd-2.4.6-90.el7.centos.x86_64                            2/16
  Installing : apr-devel-1.4.8-5.el7.x86_64                                3/16
  Installing : libdb-devel-5.3.21-25.el7.x86_64                            4/16
  Installing : cyrus-sasl-devel-2.1.26-23.el7.x86_64                       5/16
  Installing : expat-devel-2.1.0-10.el7_3.x86_64                           6/16
  Updating   : openldap-2.4.44-21.el7_6.x86_64                             7/16
  Installing : openldap-devel-2.4.44-21.el7_6.x86_64                       8/16
  Installing : apr-util-devel-1.5.2-6.el7.x86_64                           9/16
  Installing : httpd-devel-2.4.6-90.el7.centos.x86_64                     10/16
  Installing : httpd-itk-2.4.7.04-2.el7.x86_64                            11/16
  Installing : httpd-manual-2.4.6-90.el7.centos.noarch                    12/16
  Updating   : libdb-utils-5.3.21-25.el7.x86_64                           13/16
  Cleanup    : libdb-utils-5.3.21-24.el7.x86_64                           14/16
  Cleanup    : libdb-5.3.21-24.el7.x86_64                                 15/16
  Cleanup    : openldap-2.4.44-13.el7.x86_64                              16/16
  Verifying  : libdb-utils-5.3.21-25.el7.x86_64                            1/16
  Verifying  : libdb-5.3.21-25.el7.x86_64                                  2/16
  Verifying  : httpd-devel-2.4.6-90.el7.centos.x86_64                      3/16
  Verifying  : openldap-2.4.44-21.el7_6.x86_64                             4/16
  Verifying  : apr-util-devel-1.5.2-6.el7.x86_64                           5/16
  Verifying  : httpd-2.4.6-90.el7.centos.x86_64                            6/16
  Verifying  : httpd-itk-2.4.7.04-2.el7.x86_64                             7/16
  Verifying  : openldap-devel-2.4.44-21.el7_6.x86_64                       8/16
  Verifying  : apr-devel-1.4.8-5.el7.x86_64                                9/16
  Verifying  : httpd-manual-2.4.6-90.el7.centos.noarch                    10/16
  Verifying  : libdb-devel-5.3.21-25.el7.x86_64                           11/16
  Verifying  : expat-devel-2.1.0-10.el7_3.x86_64                          12/16
  Verifying  : cyrus-sasl-devel-2.1.26-23.el7.x86_64                      13/16
  Verifying  : libdb-5.3.21-24.el7.x86_64                                 14/16
  Verifying  : libdb-utils-5.3.21-24.el7.x86_64                           15/16
  Verifying  : openldap-2.4.44-13.el7.x86_64                              16/16

Installed:
  httpd.x86_64 0:2.4.6-90.el7.centos  httpd-devel.x86_64 0:2.4.6-90.el7.centos
  httpd-itk.x86_64 0:2.4.7.04-2.el7   httpd-manual.noarch 0:2.4.6-90.el7.centos

Dependency Installed:
  apr-devel.x86_64 0:1.4.8-5.el7                                             
  apr-util-devel.x86_64 0:1.5.2-6.el7                                         
  cyrus-sasl-devel.x86_64 0:2.1.26-23.el7                                     
  expat-devel.x86_64 0:2.1.0-10.el7_3                                         
  libdb-devel.x86_64 0:5.3.21-25.el7                                         
  openldap-devel.x86_64 0:2.4.44-21.el7_6                                     

Dependency Updated:
  libdb.x86_64 0:5.3.21-25.el7           libdb-utils.x86_64 0:5.3.21-25.el7   
  openldap.x86_64 0:2.4.44-21.el7_6   

Complete!
sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run rancher/rancher-agent:v2.3.1 --server https://192.168.0.104 --token w7m7bxwpgv278g7gg45gqlcfvpq6g4qlc6scr5lm7nqggdf9l8bqn9 --ca-checksum b689a90076db7b0b6a1778d041d923e7cd3a86eb534fa91501a09d9aa1dfb3be --etcd --controlplane --worker 


agent node

sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run rancher/rancher-agent:v2.3.1 --server https://192.168.0.104 --token w7m7bxwpgv278g7gg45gqlcfvpq6g4qlc6scr5lm7nqggdf9l8bqn9 --ca-checksum b689a90076db7b0b6a1778d041d923e7cd3a86eb534fa91501a09d9aa1dfb3be --etcd --controlplane --worker                         
Unable to find image 'rancher/rancher-agent:v2.3.1' locally
v2.3.1: Pulling from rancher/rancher-agent
5667fdb72017: Already exists
d83811f270d5: Already exists
ee671aafb583: Already exists
7fc152dfb3a6: Already exists
0646ecfaa4b6: Pull complete
839537c9a1cb: Pull complete
fb492ec03242: Pull complete
df5fccbfc95a: Pull complete
ece243beb887: Pull complete
271f6ee73101: Pull complete
Digest: sha256:3c32586b65b32ab7d6595b3509488a3c480fa34db0f251f51dc2c779b9814ba1
Status: Downloaded newer image for rancher/rancher-agent:v2.3.1
855e4ee6447981983517846e067d23b5b17d52e1eb5a0f9f70cbdee7439f68ef
                    

Comments