其他分享
首页 > 其他分享> > debian10 安装来自阿里云源的docker-ce

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

标签:云源,https,gpg,apt,ce,aliyun,debian10,docker
来源: https://www.cnblogs.com/yuijyann/p/15348113.html