debian10 安装来自阿里云源的docker-ce

https://developer.aliyun.com/mirror/docker-ce

apt-get update
apt-get -y install apt-transport-https ca-certificates curl gnupg lsb-release software-properties-common
curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/debian/gpg | gpg --yes --dearmor -o /usr/share/keyrings/aliyun-docker-ce-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/aliyun-docker-ce-keyring.gpg] https://mirrors.aliyun.com/docker-ce/linux/debian/ \
  $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/aliyun-docker-ce.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
上一篇:镜像加速


下一篇:http_build_query函数(学习)