1、更新apt包索引 sudo apt-get update 2、sudo apt-get install curl 3、curl -sSL https:// get.docker. com/ | sh