(Debian/Ubuntu 系统)

先执行第一个,然后在执行第二个

代码来自

get.docker.com

第1和第4个

curl -fsSL https://get.docker.com -o install-docker.sh
sudo sh install-docker.sh