美文网首页
k8s-4-部署docker环境

k8s-4-部署docker环境

作者: xlgao | 来源:发表于2020-07-27 14:39 被阅读0次

    4 部署docker环境

    1. 在另外三个节点安装docker环境 node5 node3 node4

    2. 更换base源

    wget http://mirrors.aliyun.com/repo/Centos-7.repo
    
    1. 安装命令
    # curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
    
    1. 配置国内源
     ~]# 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
    }
    
    

    相关文章

      网友评论

          本文标题:k8s-4-部署docker环境

          本文链接:https://www.haomeiwen.com/subject/zyyzlktx.html