推荐使用官方脚本安装

  1. 下载脚本

    1
    curl -fsSL https://get.docker.com -o get-docker.sh
  2. 赋予执行权限

  3. 执行