先安装curl sudo apt-get install -y curl
使用docker官方脚本安装docker curl -sSL https://get.docker.com/ | sudo sh