Problem[root@zh ~]# [root@zh ~]# [root@zh ~]# yum -y install docker Last metadata expiration check: 0:08:25 ago, performed on Wednesday, August 05, 2020 at 20:28:10. No matching arguments found: docker Error: No matches found for: docker [root@zh ~]# SolutionFirst, test whether you can ping the external network: [root@zh ~]# [root@zh ~]# [root@zh ~]# [root@zh ~]# ping www.baodu.com PING www.baodu.com (115.29.223.128) 56(84) bytes of data. 64 bytes from 115.29.223.128 (115.29.223.128): icmp_seq=1 ttl=55 time=23.7 ms 64 bytes from 115.29.223.128 (115.29.223.128): icmp_seq=2 ttl=55 time=23.6 ms 64 bytes from 115.29.223.128 (115.29.223.128): icmp_seq=3 ttl=55 time=23.7 ms 64 bytes from 115.29.223.128 (115.29.223.128): icmp_seq=4 ttl=55 time=23.6 ms ^C --- www.baodu.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 8ms rtt min/avg/max/mdev = 23.637/23.660/23.700/0.024 ms [root@zh ~]# Yes, you can. Installation source: yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm Retest: Yes, you can. Attachment: Steps to install docker on centos81. Download the docker-ce repo curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo 2. Install dependencies (this is a key step compared to centos7) yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm 3. Install docker-ce yum install docker-ce -y 4. Start Docker systemctl start docker SummarizeThis is the end of this article about how to solve the problem of Centos8 being unable to install docker. For more related content about Centos8 being unable to install docker, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
>>: A brief discussion on the execution details of Mysql multi-table join query
Table of contents Introduction to WiFi Wireless T...
1. Using it with redis will cause Netty startup c...
Table of contents 1. What is redux? 2. The princi...
1. Problem description: MysqlERROR1698 (28000) so...
When deleting a table or a piece of data in MySQL...
If the field storing the name uses the GBK charac...
Table of contents 1. Install the required environ...
Table of contents 1. What is lazy loading? 2. Imp...
This article shares the specific code of Javascri...
For individual webmasters, how to make their websi...
This article takes the connection error ECONNREFU...
[LeetCode] 197.Rising Temperature Given a Weather...
Problem Reproduction When using HTML for editing,...
1. Problem Description root@mysqldb 22:12: [xucl]...
<br />This is not only an era of information...