kubernetes单Master集群部署--Node节点安装Docker(3)

1、安装依赖包

yum install -y yum-utils device-mapper-persistent-data lvm2

2、安装yum库

yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo

3、安装dokcer

yum install docker-ce -y


4、启动dokcer

开启镜像加速

curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://bc437cce.m.daocloud.io
启动dokcer
systemctl start docker
systemctl enable docker


posted @ 2019-08-15 12:49  skyflask  阅读(419)  评论(0编辑  收藏  举报