美文网首页
Docker 离线安装-centos

Docker 离线安装-centos

作者: wpb | 来源:发表于2017-02-10 13:17 被阅读0次
    wget https://yum.dockerproject.org/repo/main/centos/7/Packages/docker-engine-1.12.6-1.el7.centos.x86_64.rpm
    wget https://yum.dockerproject.org/repo/main/centos/7/Packages/docker-engine-selinux-1.12.6-1.el7.centos.noarch.rpm
    yum localinstall -y docker-engine*
    
    #sed -i  's/fd:\/\//& -H=tcp://0.0.0.0:2375 -H=unix:///var/run/docker.sock --insecure-registry=10.10.36.213/g' /usr/lib/systemd/system/docker.service
    systemctl daemon-reload
    systemctl start docker
    
    

    相关文章

      网友评论

          本文标题:Docker 离线安装-centos

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