In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to use yum offline installation of docker, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
Use yum to install connectivity dependencies, while the-downloadonly-downloaddir option allows you to download rpm along with dependencies to install locally instead of installing.
Download and installation mode
Use yum to install built-in docker such as centos or rhel, and you can use yum install docker. The way to use the installation file after downloading to the local can be as follows
Download the docker-related rpm file and install it
Install docker by downloading rmp and installing it
[root@openshift docker] # rpm-Uvh * .rpmwarning: audit-libs-python-2.7.6-3.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEYPreparing... # # [100%] Updating / installing... 1:yajl-2.0.4-4.el7 # # [6] 2:oci-systemd-hook-1:0.1.15-2.gitc0## [12%] 3 2Plux 2.3.3-3.gite3c9055.e## [18%] 4:skopeo-containers-1:0.1.28-1.git0## [24%] 5Fran setoolsmurlibsMuir 3.3.8- 1.1.el7 # # [29%] 6:python-IPy-0.75-6.el7 # # [35%] 7:oci-register-machine-1:0-6.git2b4#### # # [41%] 8:libsemanage-python-2.5-8.el7 # # [47%] 9:libcgroup-0.41-13.el7 # # [53%] 10:container-storage-setup-0.8.0-3.g## [59%] 11:checkpolicy-2.5-4.el7 # # # # [65%] 12:audit-libs-python-2.7.6-3.el7 # # [71%] 13:policycoreutils-python-2.5-17.1.e## [76%] 14 container- Selinux-2:2.42-1.gitad8## [82%] 15:docker-common-2:1.13.1-53.git7743## [88%] 16:docker-client-2:1.13.1-53. Git7743## [94%] 17:docker-2:1.13.1-53.git774336d.el7## [100%] [root@openshift docker] #
Docker start
[root@openshift docker] # systemctl start docker [root@openshift docker] # docker versionClient: Version: 1.13.1 API version: 1.26 Package version: Go version: go1.8.3 Git commit: 774336d/1.13.1 Built: Wed Mar 7 17:06:16 2018 OS/Arch: linux/amd64Server: Version: 1.13.1 API version: 1.26 (minimum version 1.12) Package version: Go version: go1.8.3 Git commit: 774336d/1.13.1 Built: Wed Mar 7 17:06:16 2018 OS/Arch: linux/amd64 Experimental: false [root@openshift docker] # Thank you for reading this article carefully I hope the article "how to use yum to install docker offline" shared by the editor will be helpful to you. At the same time, I hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.