一键安装命令

    1. curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
    1. curl -sSL https://get.daocloud.io/docker | sh

    docker 加速

    1. mkdir -p /etc/docker
    2. tee /etc/docker/daemon.json <<-'EOF'
    3. {
    4. "registry-mirrors": ["https://q0anm40d.mirror.aliyuncs.com"]
    5. }
    6. EOF
    7. systemctl daemon-reload
    8. systemctl restart docker