Analysis of an example of installing Docker on CentOS7
This article mainly introduces the relevant knowledge of "installing Docker environment case analysis on CentOS7". The editor shows you the operation process through the actual case. The operation method is simple, fast and practical. I hope this article "installing Docker environment case analysis on CentOS7" can help you solve the problem.
Installation of docker requires a 64-bit system with a kernel version greater than 3.10. So if it is centos, you must install centos7.0 or above.
We are using centos7.2 mininul here.
Uname-r
3.10.0-327.28.3.el7.x86_64
Perform a system-wide software version upgrade before installing docker:
Yum-y update
1. Configure the yum software library
In order to ensure the success of the installation, first use yum update to update the yum package, indicating that many of my yum packages need to be updated, 1500 + packages, if you have not updated for a long time, like me, then wait patiently.
Then add the configuration of docker to the yum software library:
# tee / etc/yum.repos.d/docker.repo