debian系统配置
使用腾讯docker源
sudo sed -i 's/deb.debian.org/mirrors.cloud.tencent.com/g' /etc/apt/sources.list
sudo sed -i 's/security.debian.org/mirrors.cloud.tencent.com/g' /etc/apt/sources.list
sudo sed -i 's/ftp.debian.org/mirrors.cloud.tencent.com/g' /etc/apt/sources.list
docker install
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://mirrors.cloud.tencent.com/docker-ce/linux/debian/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://mirrors.cloud.tencent.com/docker-ce/linux/debian \
$(lsb_release -cs) \
stable"
sudo apt-get install docker-ce docker-ce-cli containerd.io