安装docker 时候出现以下问题

 

yum -y install docker
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: centos.uhost.hk
 * extras: mirrors.btte.net
 * updates: mirror.bit.edu.cn
base                                                                                                                                             | 3.7 kB     00:00    
base/primary_db                                                                                                                                  | 4.7 MB     00:47    
extras                                                                                                                                           | 3.4 kB     00:00    
extras/primary_db                                                                                                                                |  29 kB     00:00    
updates                                                                                                                                          | 3.4 kB     00:00    
updates/primary_db                                                                                                                               | 2.5 MB     00:20    
Setting up Install Process
No package docker available.
Error: Nothing to do

 

yum没有找到docker包,更新epel第三方软件库,运行命令:

sudo yum install epel-release

之后运行
sudo yum install docker-io  即可

安装文档 http://www.runoob.com/docker/centos-docker-install.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2021-07-29
猜你喜欢
  • 2022-12-23
  • 2021-06-02
  • 2021-06-22
  • 2022-12-23
  • 2022-01-14
  • 2021-11-02
  • 2022-12-23
相关资源
相似解决方案