安装脚本

  • 一键安装脚本!Linux系统都支持!
    1
    curl -sSL https://get.docker.com/ | sh
  • 国内阿里云镜像
    1
    curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
  • Azure源(中国区azure)
    1
    curl -fsSL https://get.docker.com | bash -s docker --mirror AzureChinaCloud

启动服务

  • 启动Docker
    1
    systemctl start docker
  • 开机启动
    1
    systemctl enable docker