实测历程
第一步:添加Docker官方的GPG密钥
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
第二步: 更新源
echo 'deb https://download.docker.com/linux/debian stretch stable'> /etc/apt/sources.list.d/docker.list
apt upgrade
apt update
第三步: 直接导入证书
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
直接安装
apt install docker.io
标签:kali,apt,https,linux,download,docker,安装
From: https://www.cnblogs.com/codedingzhen/p/17926274.html