-
检查一下APT系统能够被https解析,如没有需要安装 apt-transport-https sudo apt-get install apt-transport-https
-
添加Docker repository key到本地keychain sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
- sudo curl -sSL https://get.docker.com/ | sudo sh