赞
踩
1、安装docker,通过yum install docker安装
如果出现错误可以使用:先清除yum缓存 yum clean all yum makecache
检查是否网络问Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
方法一、
1、打开 vi /etc/sysconfig/network-scripts/ifcfg-eth0(每个机子都可能不一样,但格式会是“ifcfg-eth数字”),把ONBOOT=no,改为ONBOOT=yes
2、重启网络:service network restart
方法二、
1、打开 vi /etc/resolv.conf,增加 nameserver 8.8.8.8
2、重启网络: service network restart
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。