4 部署docker环境
-
在另外三个节点安装docker环境 node5 node3 node4
-
更换base源
wget http://mirrors.aliyun.com/repo/Centos-7.repo
- 安装命令
# curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
- 配置国内源
~]# vim /etc/docker/daemon
{
"graph": "/data/docker",
"storage-driver": "overlay2",
"insecure-registries": ["registry.access.redhat.com","quay.io","harbor.od.com"],
"registry-mirrors": ["https://registry.docker-cn.com"],
"bip": "172.7.21.1/24",
"exec-opts": ["native.cgroupdriver=systemd"],
"live-restore": true
}
网友评论