ARM架构Ubuntu系统安装指定版本docker

sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common

添加国内镜像GPG证书

curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -

添加阿里云仓库地址

sudo add-apt-repository \
    "deb [arch=arm64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu \
    $(lsb_release -cs) \
    stable"

更新源

sudo apt-get update

查找版本,找到版本号

apt-cache madison docker-ce

安装

sudo apt-get -y install docker-ce=[VERSION]
posted @ 2022-03-17 12:36  请务必优秀  阅读(844)  评论(0编辑  收藏  举报