1.查看Linux系統(tǒng)信息
nuame -a
2.查看Linux 系統(tǒng)發(fā)行版的名稱
lsb_release -cs
3.進(jìn)入到下載包頁面 https://download.docker.com/linux/
wget https://download.docker.com/linux/debian/dists/jessie/pool/stable/amd64/docker-ce_18.06.3~ce~3-0~debian_amd64.deb
dpkg -i docker-ce_18.06.3~ce~3-0~debian_amd64.deb
apt-get -f install
4.添加阿里加速
mkdir -p /etc/dockersudo
tee /etc/docker/daemon.json <<-'EOF'
{ "registry-mirrors": ["https://3nlwq51l.mirror.aliyuncs.com"]}
EOF
systemctl daemon-reload
systemctl restart docker