Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Yum downloads the docker installation package and installs it to an offline machine in detail

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. On networked machines, use the default centosyum source

[root@kole ~] # pwd/root [root@kole ~] # [root@kole ~] # cd docker/ [root@kole docker] # yum install-downloadonly-- downloaddir=/root/docker docker [root@kole docker] # lltotal 38800 Mustang rwmuri-1 root root 35780 Oct 2 00:52 atomic-registries-1.22.1-25.git5a342e3.el7.centos.x86q64.rpmUV rwlur Muffin-1 root root 36688 Aug 22 03:48 container-selinux- 2.68-1.el7.noarch.rpmkawa rwkawakai-1 root root 35364 Aug 22 03:48 container-storage-setup-0.11.0-2.git5eaf76c.el7.noarch.rpmKui rwkashi-1 root root 17138052 Oct 2 00:52 docker-1.13.1-75.git8633870.el7.centos.x86q64.rpmafrkay rwkyu-1 root root 4013036 Oct 2 00:52 docker-client-1.13.1-75.git8633870 .el7.centos.x86 _ 64.rpmkuhashi Oct-1 root root 95016 Oct 2 00:52 docker-common-1.13.1-75.git8633870.el7.centos.x86Y64.rpmkashi-1 root root 94468 Sep 28 19:33 libgudev1-219-57.el7copyright 5.3.x86q64.rpmKui RWFI-1 root root 165680 Apr 26 2018 libselinux-2.5-12.el7.x86q64.rpmAfter rww- RWMQ-1 root root 240876 Apr 26 2018 libselinux-python-2.5-12.el7.x86q64.rwkhokw-1 root root 154984 Apr 26 2018 libselinux-utils-2.5-12.el7.x86q64.rwafuhashi-1 root root 153596 Apr 25 2018 libsemanage-2.5-11.el7.x86q64.rpmMurr RWFUR-1 root root 114804 Apr 25 2018 libsemanage-python-2.5-11. El7.x86_64.rpm-rw-r--r-- 1 root root 303736 Apr 25 2018 libsepol-2.5-8.1.el7.x86 Apr 64.rpm QQ-1 root root 56068 Jan 30 2015 libyaml-0.1.4-11.el7 "0.x86" 64.rpmMake RWFG-1 root root 100668 Apr 25 2018 RWF-1.7.5-2.el7.x86 RWF 64.rpmMurr RWF-1 root root 1109112 Mar 9 2018 oci-register-machine-0-6.git2b44233.el7.x86q64.rpmKuhashi-1 root root 33860 Aug 22 03:48 oci-systemd-hook-0.1.17-2.git83283a0.el7.x86y64.rpmmahashi RPMI-1 root root 32440 Mar 9 2018 oci-umount-2.3.3-3.gite3c9055.el7.x86mm 64.rpmmurrMurray RWRAN-1 root root 887548 Apr 25 2018 policycoreutils-2 .5-22.el7.x86q64.rpmkashi-1 root root 464972 Apr 25 2018 policycoreutils-python-2.5-22.el7.x86mm 64.rpmMFF-1 root root 18692 Nov 29 2017 python-pytoml-0.1.14-1.git7dea353.el7.noarch.rpmMurr RWMui-1 root root 156952 Jul 4 2014 PyYAML-3.10-11.el7.x86 PyYAML-3.10-11.el7.x86 speech 64.rpmlue rwlue- 1 root root 463888 Aug 20 22:19 selinux-policy-3.13.1-192.el7class5.6.noarch.rpmqrwkhokuhashi-1 root root 6881288 Aug 20 22:20 selinux-policy-targeted-3.13.1-192.el7room5.6.noarch.rwkashashi-1 root root 634220 Apr 25 2018 setools-libs-3.3.8-2.el7.x86copyright 64.rpm Muffin rwmurr-1 root root 17100 Jul 18 01:18 skopeo-containers-0.1.31-1.dev.gitae64ff7.el7.centos.x86q64.rpmWhen-1 root root 200128 Apr 25 2018 subscription-manager-rhsm-certificates-1.20.11-1.el7.centos.x86y64.rpmMake-1 root root 5278020 Sep 28 19:34 systemd-219-57.el7 minutes 5.3.x86 Sep 64.rpmMutual-1 root root 411908 RFT 28 19:34 systemd-libs-219-57.el7 / 5.3.x86 / 64.rpmQQ-1 root root 131556 Sep 28 19:34 systemd-python-219-57.el7 / 57.el7 / 5.3.x86 / 64.rwkashi-1 root root 81520 Sep 28 19:34 systemd-sysv-219-57.el7 / 57.el7 / 5.3.x8664.rpm [root @ kole docker] # createrepo. [root@kole ~] # tar-czvf docker.tar.gz docker

two。 Offline machine installation of docker

[root@kole docker] # tar-zxvf docker.tar.gz [root@kole docker] # lltotal 36648drwxr-xr-x 3 root 0 4096 Dec 3 20:36 docker-rw-r--r-- 1 root 0 37521067 Dec 3 20:15 docker.tar.gz [root@kole docker] # cd docker/ [root@kole docker] # lltotal 8888800 Mustang RW Mustang RWKui Ruki-1 root 0 35780 Oct 1 12:52 atomic-registries-1.22.1-25.git5a342e3.el7.centos.x86_ 64. Root Dec-1 root 0 9062522880 Dec 3 20:45 centos7-base.tar-rw-r--r-- 1 root 0 36688 Aug 21 15:48 container-selinux-2.68-1.el7.noarch.rpmlichrwkay rwkashi-1 root 0 35364 Aug 21 15:48 container-storage-setup-0.11.0-2.git5eaf76c.el7.noarch.rpmmurr RPML-1 root 0 17138052 Oct 1 12:52 docker- 1.13.1-75.git8633870.el7.centos.x86q64.rpmWhen-1 root 0 4013036 Oct 1 12:52 docker-client-1.13.1-75.git8633870.el7.centos.x861664.rpmMake-1 root 0 95016 Oct 1 12:52 docker-common-1.13.1-75.git8633870.el7.centos.x861664.rpmmurr-1 root 094468 Sep 28 07: 33 libgudev1-219-57.el7-5.3.x86-64.rpmQQ-1 root 0 165680 Apr 26 2018 libselinux-2.5-12.el7.x86-64.rpmKukan-1 root 0 240876 Apr 26 2018 libselinux-python-2.5-12.el7.x86-64.rpmMuyr-1 root 0 154984 Apr 26 2018 libselinux-utils-2.5-12.el7.x86_64.rpm-rw 1 root 0 153596 Apr 25 2018 libsemanage-2.5-11.el7.x86 Apr 64.rpm QR libyaml-0.1-1 root 0 114804 RPM 25 2018 libsemanage-python-2.5-11.el7.x86 Apr 25 2018 libyaml-0.1-11.el7.x86 Apr 25 2018 rpm-8.1.el7.x86 Apr 25 2018 RPM-8.1.el7.x86 RPM 64.rpmAfter-1 libyaml-0.1 0 56068 RPM 29 .4-11.el7-11.el7-0.x86-6.git2b44233.el7.x86-6.git2b44233.el7.x86-64.rwkashi-1 root 0 100668 Apr 25 2018 lz4-1.7.5-2.el7.x86 Aug 25 2018 lz4-1.7.5-2.el7.x86 Aug 21 15:48 oci-systemd-hook-0.1.17-2.git83283a0.el7. X86x64.rpmKui root-1 root 0 32440 Mar 9 2018 oci-umount-2.3.3-3.gite3c9055.el7.x86y64.rpmMuykai-1 root 0 887548 Apr 25 2018 policycoreutils-2.5-22.el7.x86y64.rpmMuyr Muyr-1 root 0 464972 Apr 25 2018 policycoreutils-python-2.5-22.el7.x86policycoreutils-python-2.5-22.el7.x86lane 64.rpmlyrwrmury-1 root 0 18692 Nov 28 2017 python-pytoml-0.1.14-1.git7dea353.el7.noarch.rpmWhat rwkashi rkashi-1 root 0 156952 Jul 4 2014 PyYAML-3.10-11.el7.x86_64.rpmdrwxr-xr-x 2 root 0 4096 Dec 3 04:54 repodata-rw-r--r-- 1 root 0 463888 Aug 20 10:19 selinux-policy-3.13.1-192.el7dea5.6.noarch.rpmMurrwMurrWhile rwMurr- -1 root 0 6881288 Aug 20 10:20 selinux-policy-targeted-3.13.1-192.el7 Jul 5.6.noarch.rpmqhashi rwkashi-1 root 0 634220 Apr 25 2018 setools-libs-3.3.8-2.el7.x86q64.rpmkashi rwkashi-1 root 0 17100 Jul 17 13:18 skopeo-containers-0.1.31-1.dev.gitae64ff7.el7.centos.x86_64.rpm-rw-r--r -- 1 root 0 200128 Apr 25 2018 subscription-manager-rhsm-certificates-1.20.11-1.el7.centos.x86y64.rwkhokyo-1 root 0 5278020 Sep 28 07:34 systemd-219-57.el7' 5.3.x86' 64.rpmanthine-1 root 0 411908 Sep 28 07:34 systemd-libs-219-57.el7 '5.3.x86' 64.rpmMurr-1 root 0 131556 Sep 28 07:34 systemd-python-219-57.el7 / 5.3.x86 / 64.rpm / etc/yum.repos.d/local.repo [local] name=localbaseurl= file:///mntenabled=1gpgcheck=0[docker]name=dockerbaseurl=file:///root/docker/dockerenabled=1gpgcheck=0[root@kole docker] # yum install-y docker-1 root 0 81520 Sep 28 07:34 systemd-sysv-219-57.el7 file:///mntenabled=1gpgcheck=0[docker]name=dockerbaseurl=file:///root/docker/dockerenabled=1gpgcheck=0[root@kole 5.3.x8664.rpm [root @ kole docker] # yum install-y docker

Summary

The above is the yum download docker installation package to install to the offline machine example code detailed explanation, hope to help you, if you have any questions, please leave me a message, the editor will reply to you in time. Thank you very much for your support to the website!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report