參考官方文檔:https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repositorylinux
sudo apt-get updatedocker
sudo apt-get install apt-transport-https ca-certificates curl software-properties-commonubuntu
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -ssh
sudo apt-key fingerprint 0EBFCD88curl
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable"ide
sudo apt-get update url
sudo apt-get install docker-cecode
yum install openssh-server -y