centos安装docker
1.卸载过去的版本
yum remove docker docker-common docker-selinux docker-engine
2.安装docker所需插件:
yum install -y yum-utils device-mapper-persistent-data lvm2
3.
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
如果报上面的错就执行:yum install epel-release -y 4.安装最新版本的Docker CE yum install docker-ce -y
使用阿里云docker仓库 vim /etc/docker/daemon.json { "registry-mirrors": ["https://pee6w651.mirror.aliyuncs.com"] } 注意需要同步服务器时间: ntpdate -u ntp.aliyun.com
相关推荐
changecan 2020-11-19
王道革 2020-11-25
bwyyziq 2020-11-22
pigsmall 2020-11-19
helloWorldAndYou 2020-11-16
nginxs 2020-11-14
红石丶 2020-11-13
WanKaShing 2020-11-12
yangkang 2020-11-12
滴水穿石点石成金 2020-11-12
张荣珍 2020-11-12
wuxunanjing 2020-11-11
魅惑青花瓷 2020-11-11
lihongtai 2020-11-09
yangkang 2020-11-09
worldsnow 2020-11-06
MichaelJScofield 2020-11-06
TaoTaoFu 2020-11-06